I think this is a bug, but I need someone to tell me if it happens on their calc too (someone whit rom version 1.20 and someone with 1.00 would be nice). here it is:
StrToExp("{1,2,\"bob\"}")=>var
it should put {1,2,"bob"} in var but its giving me an error, can someone confirm its not just me?
StrToExp Bug
Started by
CrimsonCasio
, Dec 13 2003 06:01 PM
4 replies to this topic
#1
Posted 13 December 2003 - 06:01 PM
#2
Posted 16 December 2003 - 01:41 AM
Hi.
I dont know much about string command. But I think the StrToExp means change the string to expression. As you wrote in the code, if the ClassPad can do, it will return the LIST type, not an expression. So far, the comma cannot be contained in the expression.
Do you agree?
I dont know much about string command. But I think the StrToExp means change the string to expression. As you wrote in the code, if the ClassPad can do, it will return the LIST type, not an expression. So far, the comma cannot be contained in the expression.
Do you agree?
#3
Posted 16 December 2003 - 05:14 PM
no, an expresion can be just about anything, I've almost got it to the point of executing code , try it without the string in it and you can see it work.Hi.
I dont know much about string command. But I think the StrToExp means change the string to expression. As you wrote in the code, if the ClassPad can do, it will return the LIST type, not an expression. So far, the comma cannot be contained in the expression.
Do you agree?
#4
Posted 18 December 2003 - 05:09 AM
Yes. I see. Thanks for giving me new knowledge about ClassPad.
May be that is a bug. Classpad cannot change "string in string" like your code.
I think we could use this instead:
StrToExp({1,2,x})=>a
"bob"=>a
Is it OK
May be that is a bug. Classpad cannot change "string in string" like your code.
I think we could use this instead:
StrToExp({1,2,x})=>a
"bob"=>a
Is it OK
#5
Posted 18 December 2003 - 05:58 AM
yes, but that wont work for my purposes... unfortunatley list is limiting my encryption program to strings only, everything else is unreliable.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users