Re: Testing for NULL
- Posted by SDPringle Sep 04, 2015
- 1809 views
ghaberek said...
public type String( object x ) return string( x ) or equal( x, NULL ) end type
-Greg
I think there is value in having a distinct type that allow for the dummy value. Naming convention preferences aside I would call it StringOrNull but not String. I would make another type String that would NOT allow NULL.
public type String( object x ) return string(x) end type