¿ªÔÆÌåÓý

Re: Unable to Go Forth #VMCE


 

On Mon, Jun 6, 2022 at 06:26 PM, Mark A. Stevens wrote:
Any ideas?
Hello Mark,

It looks like the treatment of character data is rather primitive in this version of FORTH. A string with no blanks can be printed with the command .' (dot apostrophe). You need a blank after the .' otherwise I think it wants to interpret what you typed as a number to be put on the stack (hence the error message):

Ready; T=0.01/0.01 00:34:42
type forth $prog$
?
:HELLO
.' HELLO!
$
?
Ready; T=0.01/0.01 00:34:54
forth
Your FORTH extensions loaded
FORTH ready
?
hello
HELLO!
?
end
Do you want to save your extensions (Y/N)?
n
Ready; T=0.01/0.02 00:35:06

You can type the command .help to get all the help available for this version.

Rene FERLAND, Montreal
?

Join [email protected] to automatically receive all group messages.