General information
Category:
Coding, syntax & commands
Hi, I have a table with a field last c(15)
and in a particular record Last is the text string -1.676569E+09
I want to test for a negative number so I have tried the following, both of which work
at the command line but return an error for this record when the program runs " data
type mismatch"
if atc("-",last) && " data type mismatch"
&&do something
endif
if atc("-",last) && " data type mismatch"
&&do something
endif
Does this make sense?
Thanks
Steve Elster
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only