|
Re: Vartype for nil Date and/or picture object: msg#02967lang.realbasic.user
At 2:31 PM -0500 1/30/04, Corey Redlien wrote: Is there a way to figure out if a variant (dictionary or otherwise) is picture or a nil date? They both seem to come up as vartype = 9 (indicating object) A nil object of any sort is vartype 9 -- there is no way for 'nil' to carry any type information, so no way for the Variant class (or VarType function) to know that the object you don't have is a Date rather than a Picture or a Database or a CustomPizzaCutterObject or whatever. Cheers, - Joe -- ,------------------------------------------------------------------. | Joseph J. Strout REAL Software, Inc. | | joe-c3q76hHYWa4i8rCdYzckzA@xxxxxxxxxxxxxxxx http://www.realsoftware.com | `------------------------------------------------------------------' - - - Unsubscribe or switch delivery mode: <http://support.realsoftware.com/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Shell result line length, Brady Duga |
|---|---|
| Next by Date: | Re: Shell result line length, Joseph J. Strout |
| Previous by Thread: | Vartype for nil Date and/or picture object, Corey Redlien |
| Next by Thread: | Re: Vartype for nil Date and/or picture object, Norman Palardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |