Branch: Tag:

2010-11-23

2010-11-23 22:58:54 by Martin Stjernholm <mast@lysator.liu.se>

Added a new Val module for various global constant values.

Currently with true, false, and null, moved from Standards.JSON and Sql.
Also allows these values to be overridden with extended versions.

12:   //! "group=%s", group)->name * ",";   //! }    - constant Null = Builtin.SqlNull; + //! @ignore + // Use getters and Val-> to ensure dynamic resolving in case the + // values in Val.pmod are replaced. + program `->Null() {return Val->Null;} + Val.Null `->NULL() {return Val->null;} + //! @endignore    - //! The SQL NULL marker. - constant NULL = Builtin.SqlNULL; + //! @decl program Null; + //! @decl Val.Null NULL; + //! + //! @deprecated Val.Null, Val.null