[plug] check value type
Garrz
garbuck at westnet.com.au
Wed Aug 27 13:11:27 WST 2003
If you mean check the data type, the need to check this is language
specific. Some check data types more strictly handled than others. e.g.
Perl is very open, C++ isn't.
To answer your question, wouldn't the best way be to go to the data unit
allocation? If you are writing the code use meaningful variable/constant
names and commented code in the first place.. 8^)==
HTH
Garry
On Wed, 27 Aug 2003 12:10:12 +0800
"Jon Miller" <jlmiller at mmtnetworks.com.au> wrote:
> Is there a way to check the "type" of a value. By this I would like
> to check if the value of a variable is either a string or number.
>
> Thanks
>
> Jon L. Miller, MCNE, CNS
> Director/Sr Systems Consultant
> MMT Networks Pty Ltd
> http://www.mmtnetworks.com.au
>
> "I don't know the key to success, but the key to failure
> is trying to please everybody." -Bill Cosby
>
>
>
>
More information about the plug
mailing list