orgMINT / MINT

MINT2 The latest version of MINT
GNU General Public License v3.0
16 stars 3 forks source link

/T and /F are opposite to manual #42

Open SteveJustin1963 opened 1 week ago

SteveJustin1963 commented 1 week ago

the manual says ..."MINT's looping mechanism can also be used to execute code conditionally. In MINT boolean false is represented by 0 or /F and true is represented by 1 or /T."

we you run it you get

> 0 0 =.
-1
> 1 0 =.
0
>

> /T .
-1
> /F .
0
>

when used in loops -1(...) is the same as 1(...) why ? maybe this is correct so long as is not 0 for true