Re: AS data types
Re: AS data types
- Subject: Re: AS data types
- From: "Marc K. Myers" <email@hidden>
- Date: Wed, 23 Jan 2002 18:00:09 -0500
- Organization: [very little]
>
Date: Wed, 23 Jan 2002 14:19:51 -0500
>
Subject: AS data types
>
From: Michael Turner <email@hidden>
>
To: email@hidden
>
>
Does AS provide any technique of reflection for data types (I think it
>
is called that). I would like to ask a variable what data type it
>
contains. Is this possible? Is there any way to know if I have a valid
>
string?
set varClass to class of variableName
try
variableName as text
on error
display dialog "variableName can't be coerced to a string"
end try
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[1/23/02 5:59:43 PM]