Execute Brain****/TI-83 BASIC: Difference between revisions
Content added Content deleted
(Fixed typo - I think. From If Str4="]" and L<sub>1</sub>(P)=0:Then to If Str4="]" and L<sub>1</sub>(P)≠0:Then (line 45)) |
(Added bounds checking for ">" - can't go above 35) |
||
Line 64: | Line 64: | ||
End |
End |
||
End |
End |
||
If Str4=">" |
If Str4=">":Then |
||
P+1→P |
P+1→P |
||
If P>35:Then |
|||
Disp "PTR OUT OF RANGE" |
|||
Stop |
|||
End |
|||
End |
|||
End |
End |