(71B) FORTH questions
|
09-12-2023, 06:39 PM
(This post was last modified: 09-12-2023 06:41 PM by Sylvain Cote.)
Post: #69
|
|||
|
|||
RE: (71B) FORTH questions
(09-12-2023 01:33 PM)floppy Wrote: But what is this NUMBER (addr -> number). The acting of addr (counted string at that address) and str is a kind of weird for me. Any explanation is welcome.Both do the same thing but NUMBER take a counted string as parameter while VAL take a string. VAL Code: " 1.2" VAL → push 1.2 in the floating point stack NUMBER At this time, I am not able to make NUMBER works, I have tried multiple ways to pass the counted string but I consistently get an error. I am very rusty in forth, so I may come back later with the how-to for this one. Sylvain Côté |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)