,---------------. | Contributions | `---------------´ ,------------------------------------------ | 2025-08-26 12:27:16 EricBlake wrote: | testcase - Suggested test for repeated use | see: https://forth-standard.org/standard/core/IMMEDIATE#contribution-410 `------------------------------------------ A useful test is to ensure that IMMEDIATE always sets the immediate property of a word (even if it was previously set), rather than acting as a toggle: ```forth T{ VARIABLE GT10 0 GT10 ! -> }T T{ : GT11 1 GT10 ! ; IMMEDIATE IMMEDIATE -> }T \ repeated use okay T{ GT10 @ : GT12 GT11 ; GT10 @ 2 GT10 ! GT12 GT10 @ -> 0 1 2 }T ``` (Separating this to its own thread for visibility, since an [earlier version](https://forth-standard.org/standard/core/IMMEDIATE#reply-1521) was buried inside a larger thread that had already been marked closed; in the process, picking names closer to what is already present in the testsuite) ,---------. | Replies | `---------´ ,------------------------------------------ | 2025-08-26 11:32:45 AntonErtl replies: | comment - Ambiguous conditions | see: https://forth-standard.org/standard/core/IMMEDIATE#reply-1522 `------------------------------------------ The wording of the specification seems clear to me. Toggling does not implement this specification.