General information
Category:
Coding, syntax & commands
>>Hi Nadya,
>>
>>You can use the funcion TYPE.
>>Example:
>>
>>IF TYPE(mynumber) = "N"
>> WAIT WINDOW "IT'S A NUMBER!!!"
>>ELSE
>> WAIT WINDOW "IT'S SOMETHING ELSE!"
>>ENDIF
>>
>
>Not really - TYPE("123") = "C"
I agree with Ricardo & Nadya
mynumber = "123"
type( "mynumber" ) = "C"
type( mynumber ) = "N"
type( "123" ) = "N"
though I am using Vfp 5
I'm interested in any differences, as I may be required to upgrade to VfP6, so if you could let me know, if this has changed I would be grateful
Paul
Previous
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