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

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:

  • third_party_content/community/commentary/forums_nonworks/5775afb76ea73e8a85256e6a002bdd8a.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1