![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

I'm in the process of coding a text parser and everything is working as
planned. I'm using all the Forth parsing routines to parse tokens, etc. I=
'm
now at the stage of stripping comments from each source line, and I can't=
seem
to do this the way I want.
I'd like to override the length of the SOURCE text so that WORD and PARSE=
will
not go past it. All comments are single line and begin with ; . Using PAR=
SE I
can get the occurance of the first ; but I can't seem to write that lengt=
h
back into the #TIB buffer.
Any ideas on how I can to this? Thanks.
Jeff
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Mar 22 2004 - 10:22:16 PST
This archive was generated by hypermail 2.2.0 : Wed Nov 19 2008 - 03:04:23 PST