basic+ syntax (OpenInsight 32-bit Specific)
At 02 APR 2004 03:59:07AM Chee Onn Wu wrote:
Hi
I am learning basic+ and i came accross a syntax "-]"
I could not find any documentation on it can somebody help?
At 02 APR 2004 04:13AM Tim Marler wrote:
Hi,
Was this in actual code or in the Help files? If the Help files it is normally used when a single line of code has been typed over 2 lines in your manual.
Tim
At 02 APR 2004 04:18AM The Sprezzatura Group wrote:
In an event handler? The person is probably using a shorthand notation that is slightly deprecated as it does not work in normal Basic+.
Essentially
.ControlName-]Property=Value
is identical to
Call Set_Property(@Window.ControlName, Property, Value)
and Value=.ControlName-]Value
is identical to
Value=Get_Property(@Window.ControlName, Property)
Variants include
Window.Control instead of .Control if you wish to be explicit about the window, and @Variable in place of .Control if you wish to use a variable in place of a literal. So to set the TEXT property of @Window you would use
@@Window-]Text=String"
The Sprezzatura Group
World Leaders in all things RevSoft
At 02 APR 2004 04:58AM Chee Onn Wu wrote:
Thank you