test2 buf c@+ evaluate buf2 c@+ evaluate ;
s" : test 1 2" buf place
s" + . ;" buf2 place
test2
test 3
in a text file and I make copy and paste to the forth terminal, this works fine.
but if I put this in a buffer and then I make evaluate, the system don't recognizes the -test word and give me aan error message and the evaluate stops.
then i can not save files starting with -name marker -name. is there any way to solve this small problem?
in my file system manager i can save any file but I can not use this waY with marker.....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes. That's a problem with EVALUATE. A proper solution would be to implement CATCH/THROW in FF, so that EVALUATE could catch the error and continue. With a simple ABORT that is not possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I actually found a simple solution to change INTERPRET to continue interpreting when a error is encountered. Not much tested, but it works with my block system.
So now when a -marker word is encountered, interpret will continue with the next word.
You can try and patch your FF with this, unless of course you are using Scamp words.
thanks for the information. but yes, i'm using scamp words. but because i'm using the FSM with vocabularies, really is not necessary use the marker option. I keep the specific words in different vocabularies.and i load them only when necessary.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
s" : test 1 2" buf place
s" + . ;" buf2 place
test2
test 3
in a text file and I make copy and paste to the forth terminal, this works fine.
but if I put this in a buffer and then I make evaluate, the system don't recognizes the -test word and give me aan error message and the evaluate stops.
then i can not save files starting with -name marker -name. is there any way to solve this small problem?
in my file system manager i can save any file but I can not use this waY with marker.....
Yes. That's a problem with EVALUATE. A proper solution would be to implement CATCH/THROW in FF, so that EVALUATE could catch the error and continue. With a simple ABORT that is not possible.
I quess the only solution for now is to use -marker from the command line and then load the file(s).
I actually found a simple solution to change INTERPRET to continue interpreting when a error is encountered. Not much tested, but it works with my block system.
So now when a -marker word is encountered, interpret will continue with the next word.
You can try and patch your FF with this, unless of course you are using Scamp words.
thanks for the information. but yes, i'm using scamp words. but because i'm using the FSM with vocabularies, really is not necessary use the marker option. I keep the specific words in different vocabularies.and i load them only when necessary.