[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== basic+ syntax (OpenInsight 32-bit Specific) ====
=== At 02 APR 2004 03:59:07AM Chee Onn Wu wrote: ===
{{tag>"OpenInsight 32-bit Specific"}}
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
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 02 APR 2004 04:58AM Chee Onn Wu wrote: ===
Thank you
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=5775AFB76EA73E8A85256E6A002BDD8A|View this thread on the forum...]]