Jump to content

Talk:TI-BASIC 83

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Incorrect Information Regarding IS and DS Instructions

[edit]

I noticed that the article classifies [code]IS>([/code] and [code]DS<([/code] as loop commands, but this is not correct. The TI-83+ manual even says they are not looping instructions. Both instructions take a variable and a value. [code]IS>([/code] increments [i]variable[/i] by one and skips the command on the next line if [i]variable[/i] is greater than [i]value[/i]. Likewise, [code]DS<([/code] decrements [i]variable[/i] by one and skips the command on the next line if it is less than [i]value[/i]. Sonic65101 (talk) 18:39, 27 July 2019 (UTC)[reply]

Huh, I didn't know that, you can go ahead and put that in. - VeryGoodDog 21:33, 17 August 2019 (UTC)[reply]

Incorrect example for using colons as new lines

[edit]

In the Syntax section, where it says "Each command can be placed on a new line, or separated by a colon for brevity. As such, the following snippets are identical in function.

:disp "FOO
:disp "BAR
and
:disp "FOO:disp "BAR

In the above example the closing double quotes can be omitted because the colon causes all open markers to be closed." – this is not quite true. The colon does not work as a string terminator; inside the context of a string, the colon acts as the literal ":" character. Thus, when the interpreter reads the second snippet, it would interpret "FOO:disp " as a single string to be displayed, but then yield a Data Type error when it tries to multiply the string by the numeric value in the variable B. -- ReGuess (talk) 14:57, 29 September 2020 (UTC)[reply]

You can fix that if you want. - VeryGoodDog 00:27, 7 March 2021 (UTC)[reply]