Discussion: Design Questions
Design Questions
Daniel LeuckWed Aug 17 13:10:20 HST 2005
- Previous message: Design Questions
- Next message: Design Questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]
> Daniel Leuck wrote: > > > (!=null) > > > > This might be RTFM, but what does a null string look like in an SDL > file? Hopefully no Oracle-ish confusion with empty strings. Nope. Its unambiguous in SDL. "null" works the same way as Java or C# -it uses a null literal. empty_string "" null_value null See: http://sdl.ikayzo.org/docs/display/SDL/Language+Guide#LanguageGuide-literals > This looks good for simple cases, but defining types would be useful for > complex schemas. Suppose you have two tags, "favorite" and "worst", both > of which follow the "things" constraints. Using only literal types would > get redundant. Excellent point. Perhaps a "struct" keyword is in order. Dan
- Previous message: Design Questions
- Next message: Design Questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]










