Anonymous user
Execute Brain****/TI-83 BASIC: Difference between revisions
Shortened initial L1 definition (it doesn't have to be huge, the array expands dynamically) and added negative bracket number checker (e.g. ][][ would pass through the old check, but isn't valid)
(Some extra explanation) |
(Shortened initial L1 definition (it doesn't have to be huge, the array expands dynamically) and added negative bracket number checker (e.g. ][][ would pass through the old check, but isn't valid)) |
||
Line 9:
"+-.,[]<>"→Str2
" "→Str3
{
" "→Str5
Input Str1
Line 21:
If sub(Str1,A,1)="]"
B-1→B
If B<0:Then
Disp "UNEVEN BRACKETS"
Stop
End
End
End
|