Xbasic Reference
Additional guides for using Xbasic
Xbasic Language Reference
An Xbasic script's structure and flow of execution is determined by command statements. Command statements declare user-defined functions and variables, perform or stop a repeated action, or conditionally choose among two or more steps.
^ (Exponent Operator)
/pages/Ref/Xbasic/Operators/Arithmetic Operators/^ (Exponent Operator) .xml
The ^ (exponent) operator raises Operand1 to the Operand2 power.
:= (Assignment Operator)
/pages/Ref/Xbasic/Operators/Assignment Operator.xml
The := operator assigns a value to a variable. It can be distinguished from the = operator, which can be used to test equality.
** (Exponent Operator)
/pages/Ref/Xbasic/Operators/Arithmetic Operators/Star_Star_ (Exponent Operator) .xml
The ** (exponent) operator raises Operand1 to the Operand2 power.
Button O Directive {@@} Operator
/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Button/Button O Directive {@@} Operator.xml
The {@@} operator is used in a Button's owner draw (O) directive to specify that the button text contains embedded formatting commands.
- (Concatenation with Trim Operator)
/pages/Ref/Xbasic/Operators/Character Operators/- (Concatenation with Trim Operator) .xml
The Concatenation with Trim operator removes trailing spaces from Operand1 and then appends Operand2 to Operand1. In other words, this operator strips trailing blanks from the first field and then concatenates it with the second field to form a single new character string. See also Character Addition Functions
How to Reference Component Definition Properties in Xbasic
/pages/HowTo/Other/Reference component definition properties.xml

Ajax callbacks and server-side events in components are typically passed the e.tmpl object which contains component definition for use in your Xbasic scripts, which contains all of the information about the component for Alpha Anywhere to generate the HTML, CSS, and JavaScript to send to the client.

= (Equals Operator)
/pages/Ref/Xbasic/Operators/Comparison Operators/(Equals Operator).xml
The Equals operator returns .T. (TRUE) if both Operand1 and Operand2 are of the same type and have the same value, i.e. if the expressions on both sides of the operator are equal.
Inline Xbasic
/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Inline Xbasic.xml
The Inline Xbasic action inserts Xbasic into a script. This should only be used if you know how to use Xbasic. The window that pops up is a Code Editor window with standard features such�as�bubble help, code completion, and syntax checking.