"belltown" wrote:
"EnTerr" wrote:
how am i supposed to determine if a string is actually a proper number?
Define what you mean by a 'proper number' and use a regular expression to check for that
Exactly my point! I
don't want to define myself what a
proper number format is - i want to delegate that to Roku's implementation. Would not like to play catch-up with parser changes, that's an error-prone chase game - it's not like the Co will spec out what a "number" is to them. Fancy a guess what the below outcome is?
Brightscript Debugger> ? val("0x123456")