PDA

View Full Version : [LF] Is there a way to test for numeric type in Lahey?


Lahey Support
08-15-2003, 12:19 AM
It would be nice to know if there were a way to test for the type of
variable passed to a subroutine.

It seems that you could equivalance a character variable of length 18 (for
quad precision) to the passed numbers, and then swap any type number using
the charater strings. I haven't tried this, but it seems possible to me.
I tend to think in 77 and 90 where equivalences are allowed. I don't
know if it's allowed in 95.