>I kow that with the type() function i am able to see if is a
>
>Character returning C
>Numeric (also float, double, and integer) returning N
>Currency returning Y
>Date returning D
>DateTime returning T
>Logical returning L
>Memo returning M
>Object returning O
>General returning G
>Screen (created with SAVE SCREEN) returning S
>
>my variable is an integer value
>so the type function is returning me 'N'
>but i want to know also if it is a numeric
>or a integer
>
>like this
>do case
>case type(mvariable) ='N'
>if mvariable = integer then
>else
>action
>endif
>
>can you please help me out ,
>
Try
(INT(mVariable)==mVariable) to see if something is an integer once you know it's numeric - it doesn't work for some very large positove and negative numbers that are forced to be represented using a floating point value that doesn't have an exact integer representation, but that probably won't come up very often.
>David
>from (we walk on wooden shoes) holland