|
The Watch window allows you to observe the value of variables during the execution of a program. Define the variable in the Watch text box. Click on Enable Watch ls301Enable Watch to add the variable to the list box and to display its values. div id"bmid3125865" a name"bmid3125865" ... |
|
Returns a selected value from a list of arguments. h2 Syntax: h2
Choose (Index, Selection1, Selection2, ... ,Selectionn h2 Parameters: h2
Index: A numeric expression that specifies the value to return. Selection1: Any expression that contains one of the possible choices. The Choose ... |
|
Returns a Variant array. h2 Syntax: h2
DimArray ( Argument list) See also Array Function Runtime ls301Array If no parameters are passed, an empty array is created (like Dim A() that is the same as a sequence of length 0 in Uno). If parameters are specified, a dimension is created for ... |
|
Sets an object reference on a variable or a Property. h2 Syntax: h2
Set ObjectVar Object h2 Parameters: h2
ObjectVar: a variable or a property that requires an object reference. Object: Object that the variable or the property refers to. Nothing Assign the Nothing object to a ... |
|
Performs a logical OR disjunction on two expressions. h2 Syntax: h2
Result Expression1 Or Expression2 h2 Parameters: h2
Result: Any numeric variable that contains the result of the disjunction. Expression1, Expression2: Any numeric expressions that you want to compare. A logical OR ... |
|
Enables an errorhandling routine after an error occurs, or resumes program execution. h2 Syntax: h2
On {Error GoTo Labelname GoTo 0 Resume Next} h2 Parameters: h2
GoTo Labelname: If an error occurs, enables the errorhandling routine that starts at the line "Labelname". Resume Next: ... |
|
Specifies the properties of the selected dialog or control. You must be in the design mode to be able to use this command. h2 Entering Data in the Properties Dialog h2
The following key combinations apply to enter data in multiline fields or combo boxes of the Control Properties dialog: ... |
|
Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: Declare Statement Runtime ls301Declare. h2 Syntax: h2
FreeLibrary (LibName As String) h2 Parameters: h2
LibName: String expression that ... |
|
Deletes a file from a disk. h2 Syntax: h2
Kill File As String h2 Parameters: h2
File: Any string expression that contains an unambiguous file specification. You can also use Lotus Symphony Basic Glossary ls301URL notation. h2 Error Codes h2
5 Invalid procedure call 76 Path not ... |
|
Returns the month of a year from a serial date that is generated by the DateSerial or the DateValue function. h2 Syntax: h2
Month (Number) h2 Return value: h2
Integer h2 Parameters: h2
Number: Numeric expression that contains the serial date number that is used to determine the ... |
|
Runs the macro and stops it after the next procedure. You can use this command in conjunction with the Enable Watch ls301Watch command to troubleshoot errors. div id"syprozedurschritt" a name"syprozedurschritt" h2 h2 div {{scbasicstepover.pngIcon} } Procedure Step Related ... |
|
The following examples are for a new Creating a Basic Dialog ls301dialog called "Dialog1". Use the tools on the Toolbox bar in the dialog editor to create the dialog and add the following controls: a Check Box called "CheckBox1", a Label Field called "Label1", a Button called ... |
|
Statements that do not belong to any of the other runtime categories are described here. h2 Call Statement Runtime ls301Call Statement Runtime h2
Transfers the control of the program to a subroutine, a function, or a DLL procedure. Parent topic: Other Commands ls301Other ... |
|
The following numeric functions perform calculations. Mathematical and Boolean operators are described in a separate section. Functions differ from operators in that functions pass arguments and return a result, instead of operators that return a result by combining two numeric expressions. h2 ... |
|
Returns True if the given object is a Uno struct. h2 Syntax: h2
IsUnoStruct( Uno type ) h2 Return value: h2
Bool h2 Parameters: h2
Uno type : A UnoObject h2 Example: h2
Sub Main Dim bIsStruct ' Instantiate a service Dim oSimpleFileAccess oSimpleFileAccess CreateUnoService( ... |
|
Tests if a Basic Uno object supports certain Uno interfaces. Returns True, if all stated Uno interfaces are supported, otherwise False is returned. h2 Syntax: h2
HasUnoInterfaces( oTest, UnoInterfaceName 1 , UnoInterfaceName 2, ...) h2 Return value: h2
Bool h2 Parameters: ... |
|
Copies a file. h2 Syntax: h2
FileCopy TextFrom As String, TextTo As String h2 Parameters: h2
TextFrom: Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in ... |
|
Aligns a string to the left of a string variable, or copies a variable of a userdefined type to another variable of a different userdefined type. h2 Syntax: h2
LSet Var As String Text or LSet Var1 Var2 h2 Parameters: h2
Var: Any String variable that contains the string that you ... |
|
The DatePart function returns a specified part of a date. h2 Syntax: h2
DatePart (Add, Date , Weekstart , Yearstart) h2 Return value: h2
A Variant containing a date. h2 Parameters: h2
Add A string expression from the following table, specifying the date interval. Table 1. ... |
|
Performs a logical ExclusiveOr combination of two expressions. h2 Syntax: h2
Result Expression1 Xor Expression2 h2 Parameters: h2
Result: Any numeric variable that contains the result of the combination. Expression1, Expression2: Any numeric expressions that you want to combine. A ... |
|
The available comparison operators are described here. h2 Comparison Operators Runtime ls301Comparison Operators Runtime h2
Comparison operators compare two expressions. The result is returned as a Boolean expression that determines if the comparison is True (1) or False (0). Parent ... |
|
Defines one or more statement blocks depending on the value of an expression. h2 Syntax: h2
Select Case condition Case expression Statement Block Case expression2 Statement BlockCase Else Statement Block End Select h2 Parameters: h2
Condition: Any expression that controls if the ... |
|
Lists several examples of VBA code. You can edit them in the Lotus® Symphony™ Basic IDE. |
|
Converts a string expression or numeric expression to a decimal expression. h2 Syntax: h2
CDec(Expression) h2 Return value: h2
Decimal number. h2 Parameter: h2
Expression: Any string or numeric expression that you want to convert. |
|
Branches to one of several specified lines in the program code, depending on the value of a numeric expression. h2 Syntax: h2
On N GoSub Label1, Label2, Label3,... On NumExpression GoTo Label1, Label2, Label3,... h2 Parameters: h2
NumExpression: Any numeric expression between ... |