6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 21, 2024 6:28 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Fig word "Marker"
PostPosted: Fri Jun 25, 2021 10:15 am 
Offline

Joined: Thu May 13, 2021 8:56 am
Posts: 31
Location: Hellevoetsluis-NL
Knows someone the definition (source) of the word marker?


Top
 Profile  
Reply with quote  
 Post subject: Re: Fig word "Marker"
PostPosted: Fri Jun 25, 2021 2:52 pm 
Offline

Joined: Fri Apr 15, 2016 1:03 am
Posts: 140
NARKER is a FORTH 2012 standard word: https://forth-standard.org/standard/core/MARKER
It creates a word that, when executed, FORGETs itself and all words following.

It should be possible to define MARKER in FIG to create a word that passes it's own address into the middle of the FORGET logic. I haven't done this yet.

Another alternative is to change your program to delete MARKER & use FORGET where the MARKER created word would be called.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: