String to Numeric Value

Started by jack September 1, 2005
Hey all,

I've got my GPS sending strings into my BX24. I've got these split
into strings that just contain the values I need, for instance, my
string sNorth holds the value "4028.2512". How can I get this into a
single, for instance, so that I can do some trig to find out which
direction I need to go?

I looked at the BasicX website. Their language reference suggested
"ValueS()", but the compiler says that's not a function.

Ideas?

Thanks,

-Jack C
jack {[@]} crepipinc.com
http://www.crepinc.com/


jack wrote:

> I looked at the BasicX website. Their language reference suggested
> "ValueS()", but the compiler says that's not a function.

Look again at the reference manual. The syntax for the procedure ValueS is:
Call ValueS(StringVar, Value, Success)

Mike