Strings in fig-FORTH?
von tschak909 » Mi 31. Mär 2021, 19:05Ok, why am I drawing such a huge blank here?
for the life of me, I can't remember how to properly create and manipulate strings in fig-FORTH.
I tried:
: CARRAY <BUILDS 256 ALLOT DOES> C@ + ;
but that doesn't seem to work very well
I need to create a 256 byte character buffer to store a devicespec to pass into a DCB to pass into SIOV..
-Thom
for the life of me, I can't remember how to properly create and manipulate strings in fig-FORTH.
I tried:
: CARRAY <BUILDS 256 ALLOT DOES> C@ + ;
but that doesn't seem to work very well
I need to create a 256 byte character buffer to store a devicespec to pass into a DCB to pass into SIOV..
-Thom