:If sub(Str1,1,1)="""
:Then
...
:End
:input Str1,""
:Str1->u //thats the graphing variable
Yeah I know. Sadly I think ASM (or Axe?) is the only way to force the storage of a string quote character in a string.I believe it's possible to store a " inside a string if it's typed into the homescreen, recalled to the Y= editor, and then stored in a string from either the homescreen or a TI-BASIC program.
I wonder about STO...
So you want to test a string if it is a string, number, list, matrix, or something else?
:'(
is there any other way to check if the contents of a string would evaluate to a string (preferably not involving errors)?
It doesn't work. When I type the STO char in Y= it does nothing. It won't let me type it ???
:If inString("every_single_token_except_"_and_->",sub(Str1,1,1))
:Else
...
:End
Are you talking about the link that Finale gave? You could do checks for all of them but string and number and if it gets that far then you do that check to decide which it is.
Ah that works! Too bad I can't display it with Output or something...It doesn't work. When I type the STO char in Y= it does nothing. It won't let me type it ???
1: type "-> on the homescreen, press enter, then quit (when it gives an error)
2: go to Y= and push [2nd][Enter].
that should do it!
but c'mon guys there has to be another way... like:Code: [Select]:If inString("every_single_token_except_"_and_->",sub(Str1,1,1))
:Else
...
:End
I could use XTRACHAR for that... I keep it on-calc at all times :P
But it'll run horribly slow.
That can work inside Output(?
You seem to always find a solution to everything I post. Could you actually post your entire source code on how to display STO character inside a BASIC program on the home screen?
EDIT: Actually that works, thanks. I have bad memories about Equ>String, though O.O (See the TI-OS glitches section)
MathPrint OSes are just a bunch of glitches. >:(
MathPrint OSes are just a bunch of glitches. >:(Yeah but actually MathPrint at least doesn't have that one Equ>String glitch I mentionned.
Hey! thats not true! take it back! where would we be without fnInt(, remainder(, randintnorep(, fractions, and the ability to scroll up and delete your previous entries (not to mention the CLASSIC token/mode :P)?