Re: Null
Re: Null
- Subject: Re: Null
- From: Doug McNutt <email@hidden>
- Date: Mon, 6 Jan 2003 19:42:10 -0700
At 17:52 -0800 1/6/03, Christopher Nebel wrote:
>
Actually, there is -- it's define(d) in the Type Names suite:
>
"null", typeNull, "", { }, { },
<rant>
Now I assume that means that the word "null" translates to the empty string, the empty list, or the empty record depending on the contest. Is it something like a typedef? Where do I learn the definition of the compiler directive "typeNull" ?
I once tried :
set mylist to null
as a way to initialize an empty list and it didn't work. It took an hour or so, including "empty", "nothing", and "nil" to learn that the proper syntax is:
set mylist to {}
which I thought must be something from C rather than "natural English".
Try testing the result of a Choose From List command to see if the return is "null". False is a better choice if you want it to work.
Can you please provide the proper buttons to press in the Script Editor so that I can actually see the definitions in the Type Names suite? Is it a *.h file? As far as I can see the ASLG is absolutely SILENT on the concept.. A search for "null" in AppleScript help, which works only in OS 9.1 for me - OS neXt complains about my internet connection, shows "nothing found".
</rant>
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
- Follow-Ups:
- Re: Null
- From: Christopher Nebel <email@hidden>
References: | |
| >Re: Null (From: Christopher Nebel <email@hidden>) |