comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to tell it is character or it is number?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
how to tell it is character or it is number? [message #55220] Tue, 07 August 2007 08:13 Go to previous message
queiny is currently offline  queiny
Messages: 15
Registered: November 2005
Junior Member
Hi,

I am reading in many line of mixed characters and numbers.

AA,01,02,003,andefg
BB,02,03,006,edjkflg
......
FF,01,02,abc,eirjfdkf
......

I need information from the 4th field, which can be either number or
character. After I parsed the long records, I singled out this field.
Is there a way I can tell whether it is numbers or it is characters?
'fix' command can convert the numbers, it will give an error message
then continue to the execution.

Thanks,
[Message index]
 
Read Message
Read Message
Previous Topic: Basic Event Handling
Next Topic: Array definition

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 07:22:55 PDT 2025

Total time taken to generate the page: 1.68208 seconds