set variable to null
To set a variable as NULL, do I:
set X to ""
BTW, what are good on-line tutorials for a beginner?
Thanks,
Tony
MacBook /, Mac OS X (10.6.2), / Windows xp (Boot Camp)
MacBook /, Mac OS X (10.6.2), / Windows xp (Boot Camp)
set X to ""
set X to null
set X to missing value
now it doesn't have any content, not even a class
shureek wrote:
Then you better use true and false boolean values.
set test to some item of {0, 1}
if test = 1 then
set x to true
else
set x to false
end if
return {test, x}
set x to false
set test to some item of {0, 1}
if test = 1 then set x to true
return {test, x}
set test to some item of {0, 1}
set x to test = 1
return {test, x}
set variable to null