MachineForth icon indicating copy to clipboard operation
MachineForth copied to clipboard

How to specify a string

Open wboeke opened this issue 1 year ago • 1 comments

In MF there are 3 words available for the string type: STREQ, STRLEN and STRCPY. But how can I create a string?

wboeke avatar Aug 17 '24 16:08 wboeke

Wow, it has been along time since I looked at MachineForth. I did't take that very far, and I do not consider it complete. It doesn't support strings out of the box. If you want to create strings, you'd have to create an IMMEDIATE word and use "c," to put it in place.

CCurl avatar Aug 17 '24 22:08 CCurl