New Keywords
\The Sandbox \PB History & Future \New in PB 5 \PowerScript Enhancements \New Keywords
New Keywords
  • New Keyword CONSTANT is used to modify ANY variable declaration (that is GLOBAL, SHARED, INSTANCE, LOCAL) into a constant value that is evaluated at compile time, not runtime. 
  • New Keyword READONLY is used to modify an INSTANCE variable (ONLY)  into a value that has PUBLIC access for reading and PRIVATE access for writing.
  • Now support the new ProtectedRead/Write, PrivateRead/Write, and SystemRead/Write restrictive access keywords on property definitions.  These are replacing the READONLY property modifier, and its prior successor, ProtectedRead and PublicRead.
  • New keywords have been added that may be applied to function and event calls.
    • Events may be called like functions with the use of a new keyword
    • You may post events and functions for later execution
    • You may call dynamically bound functions and events
  • When you have a local, shared, or instance variable hiding a global variable you can now reference the global by placing "::" (double colon) in front of it, for example:
    • ::g_var

  • Message.processed reimplemented.  There are cases where we need this attribute for compatiblity reasons.

CREATE USING expr

    Where:

    expr is a string constant, a string variable, an 'any' variable, or an expression that returns a string or an 'any'. 

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com