Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.forth    |    Forth programmers eat a lot of Bratwurst    |    117,927 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 116,882 of 117,927    |
|    dxf to Ruvim    |
|    Re: Number parsing with checks    |
|    14 Oct 24 21:52:31    |
      From: dxforth@gmail.com              On 13/10/2024 1:20 pm, Ruvim wrote:       > ...       > > Typically, if word name ends with a question mark, the first (top) output       > > parameter of the word is a *flag*. And it's true for all standard words.       > > (though, opposite is not true)       > ...       > These names follow the common convention. A question mark at the beginning of       > a name means that the word does something or does nothing depending on       certain       > conditions.       >       > Well known nonstandard words: `?stack` `?csp` `?comp` `?exec`       > Standard words: `?do` `?dup`              Here is Forth Inc's convention as provided in Forth Programmer's Handbook.       It appears more flexible than what you describe above.               ?name Check condition, return true if yes ?TERMINAL        Conditional operator ?DUP        Check condition, abort if bad ?STACK        Fetch contents of name and display ?N        [..]               name? Same as ?name B?              The lack of differentiation between ?NAME and NAME? is likely due to early       forth storing names as 3 characters plus count.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca