RetroForum Welcome, Guest. Please login or register.
September 03, 2010, 10:42:49 PM
Home Help Search Calendar Login Register

RetroForth Discussion  |  Older Boards  |  Bugs  |  Topic: el problem on Windows « previous next »
Pages: 1 Go Down Print
Author Topic: el problem on Windows  (Read 1599 times)
blippy
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
el problem on Windows
« on: December 04, 2005, 10:40:47 AM »

I am having a problem with the el (evaluate line) command.

Suppose I do
2 s
0 i : t " hello" ;
to insert the line : t " hello" ; into line 0 of block 2

Then, when I do
0 el
I get the error message
TOKEN0: Unable to find or convert the specified token to
a number. The token passed was: hello"


I'm using version 802 I think (at least that's what appears on the top of the stack when I type in version)
Logged
Charles Childers
Administrator
Sr. Member
*****

Karma: +2/-0
Offline Offline

Posts: 745


View Profile WWW
Re: el problem on Windows
« Reply #1 on: December 04, 2005, 02:14:02 PM »

The " word is only intended for use at the interpreter, not in a definition. Use s" instead, and it will work.

Code:
2 s
0 i : t s" hello" ;
0 el
Logged
Pages: 1 Go Up Print 
RetroForth Discussion  |  Older Boards  |  Bugs  |  Topic: el problem on Windows « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!