Page 1 of 1
ASK command problem [delete this post]
Posted: Mon Oct 26, 2015 5:29 pm
by townsend
Using the ASK command, it looks like I'm getting an extra character more than what was entered.
Re: ASK command oddity: numtochar(9)
Posted: Mon Oct 26, 2015 5:40 pm
by dunbarx
Hi.
Not sure what you mean.
Code: Select all
on mouseUp
ask "How many chars" with "XYZ"
put the length of it
end mouseUp
I get "3". It makes no difference if you fill out the field by hand.
So when you get this invisible character, what is its charToNum?
Craig Newman
Re: ASK command oddity: numtochar(9)
Posted: Mon Oct 26, 2015 5:45 pm
by townsend
Thanks Craig!
Just ran some isolated test. ASK command is fine.
My mistake. Other code was adding the extra character.