This online help file is for the Advanced Workflow Engine v8. For other versions, please refer to http://help.globalscape.com/help/index.html. (If the Index and Contents are hidden, click Show Contents pane in the top left corner of this topic.) |
Definition Name |
Description |
||||||||||
Arglist |
[ | expr | param:=expr ][,] A list of zero or more exprs that are assigned to the parameters of the procedure. A positional parameter may be skipped by omitting the expression. Only optional parameters may be skipped. Positional parameter assignment is done with expr. Each parameter is assigned in turn. By name parameter assignment may follow. By name parameter assignment is done with param:=expr. All following parameters must be assigned by name. |
||||||||||
Array Variable |
A variable that holds an array of values. A Variant variable can hold an array. Dynamic arrays can be ReDimensioned. |
||||||||||
As [New] Type |
Dim, Private, Public and Static statements may declare variable types using As type or As New objtype. A variable declared using As New objtype is automatically created prior to use, if the variable is Nothing. |
||||||||||
As Type |
Variable and parameter types, as well as, function and property results may be specified using As type: Boolean, Byte, Currency, Date, Double, Integer, Long, Object, PortInt, Single, String, String*n, UserDialog, Variant, objtype, userenum, usertype. |
||||||||||
Attribute Definition/Statement
|
Syntax: Attribute attributename = value Group: Declaration Description: Form 1: Module level attribute Attribute VB_Name
= "name" VB_Name - Declares the name of the class module
or object module. Form 2: Macro/Module level variable attribute Public
varname As Type VB_VarUserMemID - Declares Public varname
as the default property for a class module or object module. Form 3: User defined procedure attribute [Sub | Function | Property [Get|Let|Set]] procname Attribute procname.VB_UserMemId = 0 VB_UserMemID - Declares Property procname
as the default property for a class module or object module. HelpFile: '#HelpFile "helpfile" where "helpfile" is a full path to the help file associated with the help text and help context. |
||||||||||
Attribute |
A file attribute is zero or more of the following values added together. Attribute Value Description vbNormal 0 Normal file. vbReadOnly 1 Read-only file. vbHidden 2 Hidden file. vbSystem 4 System file. vbVolume 8 Volume label. vbDirectory 16 MS-DOS directory. vbArchive 32 File has changes since last backup. |
||||||||||
Begin Dialog |
Syntax: Begin Dialog UserDialog [X, Y,] DX, DY[, Title$] [,.dialogfunc] User Dialog Item [User Dialog Item] End Dialog Group: User Dialog Description: Parameter Description X This numeric value is the distance from the left edge of the screen to the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. If this is omitted then the dialog will be centered. Y This numeric value is the distance from the top edge of the screen to the top edge of the dialog box. It is measured in 1/12th of the average character width for the dialog's font. If this is omitted then the dialog will be centered. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Title$ This string value is the title of the user dialog. If this is omitted then there is no title. dialogfunc This is the function name that implements the DialogFunc for this UserDialog. If this is omitted then the UserDialog doesn't have a dialogfunc. User Dialog Item Example: Sub Main Begin Dialog UserDialog 200,120 Text 10,10,180,15,"Please push the OK button" OKButton 80,90,40,20 End Dialog Dim dlg As UserDialog Dialog dlg ' show dialog (wait for ok) End Sub |
||||||||||
Big-Endian |
Multiple byte data values (not strings) are stored with the highest order byte first. For example, the long integer &H01020304 is stored as this sequence of four bytes: &H01, &H02, &H03 and &H04. A Binary or Random file written using Put uses little-endian format so that it can be read using Get on any machine. (Big-endian machines, like the Power-PC, reverse the bytes as they are read by Get or written by Put.) |
||||||||||
CancelButton Dialog Item |
Syntax: CancelButton X, Y, DX, DY[,.Field] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Field This identifier is the name of the field. The dialogfunc receives this name as string. If this is omitted then the field name is "Cancel". Example: Sub Main Dim
dlg As UserDialog |
||||||||||
Charlist |
A group of one or more characters enclosed by [ ] as part of Like operator's right string expression. This list contains single characters and/or character ranges which describe the characters in the list. A range of characters is indicated with a hyphen (-) between two characters. The first character must be ordinally less than or equal to the second character. Special pattern characters like ?, *, # and [ can be matched as literal characters. The ] character can not be part of charlist, but it can be part of the pattern outside the charlist. |
||||||||||
CheckBox Dialog Item |
Syntax: CheckBox X, Y, DX, DY, Title$,.Field[, Options] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Field The value of the check box is accessed via this field. Unchecked is 0, checked is 1 and grayed is 2. Options This numeric value controls the type of check box. Choose one value from following table. (If this numeric value omitted then zero is used.)
See Also: Begin Dialog, Dim As UserDialog. Example: Sub
Main Dim
dlg As UserDialog |
||||||||||
ComboBox Dialog Item |
Syntax: ComboBox X, Y, DX, DY, StrArray$( ),.Field$[, Options] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. StrArray$( ) This one-dimensional array of strings establishes the list of choices. All the non-null elements of the array are used. Field$ The value of the combo box is accessed via this field. This is the text in the edit box. Options This numeric value controls the type of combo box. Choose one value from following table. (If this numeric value omitted then zero is used.)
Example: Sub
Main Dim
dlg As UserDialog Dialog dlg ' show dialog (wait for ok) Debug.Print dlg.combo$ End Sub |
||||||||||
Condexpr |
An expression that returns a numeric result. If the result is zero then the conditional is False. If the result is non-zero then the conditional is True. 0 'false -1 'true X > 20 'true if X is greater than 20 S$ = "hello" 'true if S$ equals "hello" Const Definition Syntax: [ | Private | Public ] _ Const name[type] [As Type] = expr[,] Group: Declaration Description: Example: Sub Main |
||||||||||
Dateexpr |
An expression that returns a date result. Use #literal-date# to express a date value. #1/1/2000# ' Jan 1, 2000 Now+7 ' seven days from now DateSerial(Year(Now)+1,Month(Now),Day(Now)) ' one year from now |
||||||||||
Declare |
Syntax: [ | Private | Public ] _ Declare Sub name Lib "dll name" _ [Alias "module name"] [([param[,...]])] -or- [ | Private | Public ] _ Declare Function name[type] Lib "dll name" _ [Alias "module name"] [([param[,...]])] [As type[()]] Group: Declaration Description: Parameter Description name This is the name of the subroutine or function being defined. If Alias "module name" is omitted then this is the module name, too. "dll name" This is the DLL file where the module's code is. "module name" This is the name of
the module in the DLL file. If this is #number then it is the
ordinal number of the module. If it is omitted then name is the
module name. params A list of zero or more params that are used by the DLL subroutine or function. (Note: A ByVal string's value may be modified by the DLL.) Example: Declare Function GetActiveWindow&
Lib "user32" () Function
ActiveWindowTitle$() Sub
Main |
||||||||||
Def |
Syntax: Def{Bool|Cur|Date|Dbl|Int|Lng|Obj|Sng|Str|Var} letterrange[,...] Group: Declaration Description: • DefBool - Boolean • DefByte - Byte • DefCur - Currency • DefDate - Date • DefDbl - Double • DefInt - Integer • DefLng - Long • DefObj - Object • DefSng - Single • DefStr - String • DefVar - Variant Parameter Description letterrange letter, or letter-letter: A letter is one of A to Z. When letter-letter is used, the first letter must be alphabetically before the second letter. Variable names that begin with a letter in this range default to declared type. If a variable name begins with a letter not specific in any letter range then the variable is a Variant. The letter ranges are not allowed to overlap. Example: DefInt A,C-W,Y' integer Sub
Main |
||||||||||
Dialogfunc |
A dialog function executes while a UserDialog is visible. |
||||||||||
Dim |
Syntax: Dim [WithEvents] name[type][([dim[,...]])][As [New] type][,...] Group: Declaration Description: Example: Sub
DoIt(Size) ReDim
C1(Size) ' dynamic array Sub
Main |
||||||||||
Dim |
[lower To] upper Array dimension. If lower is omitted then the lower bound is zero or one depending on the Option Base setting. (The lower bound of an array element in a Type definition is not affected by the Option Base setting.) upper must be at least as big as lower. Dim A(100 To 200) '101 values Note: For ReDim the lower and upper may be any valid expression. Otherwise, lower and upper must be constant expressions. |
||||||||||
Dlgvar |
A dialog variable holds values for fields in the dialog. Dialog variables are declared using Dim dlgvar As UserDialog. |
||||||||||
DropListBox Dialog Item |
Syntax: DropListBox X, Y, DX, DY, StrArray$( ),.Field[, Options] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. StrArray$( ) This one-dimensional array of strings establishes the list of choices. All the non-null elements of the array are used. Field The value of the drop-down list box is accessed via this field. It is the index of the StrArray$( ) var. Options This numeric value controls the type of drop-down list box. Choose one value from following table. (If this numeric value omitted then zero is used.)
See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main |
||||||||||
Enum |
Syntax: [ | Private | Public ] Enum name [...] End Enum Group: Declaration Description: Example: Enum Days Sub Main |
||||||||||
Expr |
An expression that returns the appropriate result. |
||||||||||
Field |
Use.field to access individual fields in a dialog variable. dlg.LastName$ |
||||||||||
Function |
Syntax: [ | Private | Public | Friend ] [ Default ] Function name[type][([param[,...]])] [As type[()]] End Function Group: Declaration Description: See Also: Declare, Property, Sub. Example: Function Power(X,Y) |
||||||||||
GroupBox Dialog Item |
Syntax: GroupBox X, Y, DX, DY, Title$[,.Field] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Title$ This string value is the title of the group box. Field This identifier is the name of the field. The dialogfunc receives this name as string. If this identifier is omitted then the first two words of the title are used. See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main |
||||||||||
Instruction |
A single command. Beep Multiple instructions may be used instead of a single instruction by separating the single instructions with colons. X = 1:Debug.Print
X |
||||||||||
Label |
An identifier that names a statement. Identifiers start with a letter. Following chars may be a letter, an underscore or a digit. |
||||||||||
ListBox Dialog Item |
Syntax: ListBox X, Y, DX, DY, StrArray$( ),.Field[, Options] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. StrArray$( ) This one-dimensional array of strings establishes the list of choices. All the non-null elements of the array are used. Field The value of the list box is accessed via this field. It is the index of the StrArray$( ) var. Options This numeric value controls the type of list box. Choose one value from following table. (If this numeric value omitted then zero is used.)
See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main Dim dlg As UserDialog |
||||||||||
Little-Endian |
Multiple byte data values (not strings) are stored with the lowest order byte first. For example, the long integer &H01020304 is stored as this sequence of four bytes: &H04, &H03, &H02 and &H01. A Binary or Random file written using Put uses little-endian format so that it can be read using Get on any machine. (Big-endian machines, like the Power-PC, reverse the bytes as they are read by Get or written by Put.) |
||||||||||
Method |
An object provides methods and properties.
Methods can be called as subs (the return value is ignored), or
used as functions (the return value is used). App.[Title$] |
||||||||||
Name |
An identifier that names a variable or a user defined procedure. Identifiers start with a letter. Following chars may be a letter, an underscore or a digit. Count |
||||||||||
Num |
An expression that returns a numeric result. Use &O to express an octal number. Use &H to express a hex number. |
||||||||||
Numvar |
A variable that holds one numeric value. The name of a numeric variable may be followed by the appropriate type char. |
||||||||||
Objexpr |
A expression that returns a reference to an object or module. CreateObject("WinWrap.CDemoApplication") |
||||||||||
Objtype |
A specific ActiveX Automation type defined by your application, another application or by an object module or class module. See Also: CreateObject( ), GetObject( ). |
||||||||||
Objvar |
A variable that holds a objexpr which references an object. Object variables are declared using As Object in a Dim, Private or Public statement. |
||||||||||
OKButton Dialog Item |
Syntax: OKButton X, Y, DX, DY[,.Field] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Field This identifier is the name of the field. The dialogfunc receives this name as string. If this is omitted then the field name is "OK". See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main |
||||||||||
Option |
Syntax: Option Base [0|1] -or- Option Compare [Binary | Text] -or- Option Explicit -or- Option Private Module Group: Declaration Description: • Option Compare Binary - compare string text using binary data (default) • Option Compare Text - compare string text using the collation rules String comparison using <, <=, =, >,
>=, <>, Like
and StrComp
are affected by this mode's setting. Example: Option Base 1 Sub Main |
||||||||||
OptionButton Dialog Item |
Syntax: OptionButton X, Y, DX, DY, Title$[,.Field] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Title$ The value of this string is the title of the option button. See Also: Begin Dialog, Dim As UserDialog, OptionGroup. Example: Sub Main Dim dlg As UserDialog Dialog dlg ' show dialog (wait for ok) |
||||||||||
OptionGroup Dialog Item |
Syntax: OptionGroup.Field OptionButton X, Y, DX, DY, Title$[,.Field] OptionButton X, Y, DX, DY, Title$[,.Field] Group: User Dialog Description: Parameter Description Field The value of the option group is accessed via this field. This first option button is 0, the second is 1, etc. X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Title$ The value of this string is the title of the option button. See Also: Begin Dialog, Dim As UserDialog, OptionButton. Example: Sub Main |
||||||||||
Param |
[ [Optional] [ | ByVal | ByRef ] | ParamArray
] param[type][( )]
[As type] [ = default value ] An Optional param may be omitted from the call. It may also have a default value. The parameter receives the default value if a value is not specified by the call. If the default value is omitted, the parameter is a Variant and no value is specified in the call then IsMissing will return True. All parameters following an Optional parameter must also be Optional. ParamArray may be used on the final param. It must be an array of Variant type. It must not follow any Optional parameters. The ParamArray receives all the expressions at the end of the call as an array. If LBound(param) > UBound(param) then the ParamArray didn't receive any expressions. If the param is not ByVal and the expression is merely a variable then the param is a reference to that variable (ByRef). (Changing param changes the variable.) Otherwise, the parameter variable is local to the procedure, so changing its value does not affect the caller. • Use param( ) to specify an array parameter. An array parameter must be referenced and can not be passed by value. The bounds of the parameter array are available via LBound( ) and UBound( ). |
||||||||||
Picture Dialog Item |
Syntax: Picture X, Y, DX, DY, FileName$, Type[,.Field] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. FileName$ The value of this string is the.BMP file shown in the picture control. Type This numeric value indicates the type of bitmap used. See below. Field This identifier is the name of the field. The dialogfunc receives this name as string. If this identifier is omitted then the first two words of the title are used.
See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main |
||||||||||
Order of Precedence |
When several operators are used in an expression, each operator is evaluated in a predetermined order. Operators are evaluated in this order: ^ (power) - (negate) * (multiply), / (divide) \ (integer divide) Mod (integer remainder) + (add), - (difference) & (string concatenate) = (equal), <> (not equal), < (less than) > (greater than), <= (less than or equal to), >= (greater than or equal to), Like, (string similarity) Is (object equivalence) Not (logical bitwise invert) And (logical bitwise and) Or (logical or bitwise or) Xor (logical or bitwise exclusive-or) Eqv (logical or bitwise equivalence) Imp (logical or bitwise implication) Operators shown on the same line are evaluated from left to right. |
||||||||||
Private
|
Syntax: Private [WithEvents] name[type][([dim[,...]])] [As [New] type][,...] Group: Declaration Description: See Also: Dim, Option Base, Public, ReDim, Static, WithEvents. Example: Private A0,A1(1),A2(1,1) |
||||||||||
Procedure |
|||||||||||
Property |
An object provides methods
and properties. Properties may be used as values (like a function
call) or changed (using assignment syntax). App.[Title$] Syntax: [ | Private | Public | Friend ] [ Default ] Property Get name[type][([param[,...]])] [As type[()]] End Property -or- [ | Private | Public | Friend ] Property [Let|Set] name[([param[,...]])] End Property Group: Declaration Description: Example: Dim X_Value Property Let X(NewValue) Sub Main |
||||||||||
Public |
Syntax: Public [WithEvents] name[type][([dim[,...]])] [As [New] type][,...] Group: Declaration Description: See Also: Dim, Option Base, Private, ReDim, Static, WithEvents. Example: Public A0,A1(1),A2(1,1) |
||||||||||
PushButton Dialog Item |
Syntax: PushButton X, Y, DX, DY, Title$[,.Field] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Title$ The value of this string is the title of the push button control. Field This identifier is the name of the field. The dialogfunc receives this name as string. If this identifier is omitted then the first two words of the title are used. See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main |
||||||||||
Statement |
Zero or more instructions. A statement is at least one line long. Begin Dialog, Do, For, If (multiline), Select Case, While and With statements are always more than one line long. A single line statement continues on the next line if it ends a line with a space and an underscore ' _'. S$ = "This long string is easier to read,
" + "if it is broken across two lines." |
||||||||||
Static |
Syntax: Static name[type][([dim[,...]])][As [New] type][,...] Group: Declaration Description: See Also: Dim, Option Base, Private, Public, ReDim. Example: |
||||||||||
Str |
An expression that returns a string result. "Hello" |
||||||||||
Strarray |
A variable that holds an array of string values. The name of a string variable may be followed by a $. |
||||||||||
StreamNum
|
An expression that returns a numeric result. Streams 1 through 255 are private to each macro. Streams 256 through 511 are shared by all macros. |
||||||||||
Strvar |
A variable that holds one string value. The name of a string variable may be followed by a $. FirstName$ |
||||||||||
Sub
|
Syntax: [ | Private | Public | Friend ] Sub name[([param[,...]])] End Sub Group: Declaration Description: See Also: Declare, Function, Property. Example: Sub IdentityArray(A()) ' A() is an array of
numbers Sub CalcArray(A(),B,C) ' A() is an array of
numbers Sub ShowArray(A()) ' A() is an array of numbers Sub Main |
||||||||||
Text Dialog Item |
Syntax: Text X, Y, DX, DY, Title$[,.Field][, Options] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Title$ The value of this string is the title of the text control. Field This identifier is the name of the field. The dialogfunc receives this name as string. If this identifier is omitted then the first two words of the title are used. Options This numeric value controls the alignment of the text. Choose one value from following table. (If this numeric value omitted then zero is used.)
See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main |
||||||||||
TextBox Dialog Item |
Syntax: TextBox X, Y, DX, DY,.Field$[, Options] Group: User Dialog Description: Parameter Description X This number value is the distance from the left edge of the dialog box. It is measured in 1/8th of the average character width for the dialog's font. Y This number value is the distance from the top edge of the dialog box. It is measured in 1/12th of the character height for the dialog's font. DX This number value is the width. It is measured in 1/8th of the average character width for the dialog's font. DY This number value is the height. It is measured in 1/12th of the character height for the dialog's font. Field The value of the text box is accessed via this field. Options This numeric value controls the type of text box. Choose one value from following table. (If this numeric value omitted then zero is used.)
See Also: Begin Dialog, Dim As UserDialog. Example: Sub Main |
||||||||||
Type |
Syntax: [ | Private | Public ] Type name elem [([dim[,...]])] As [New] type [...] End Type Group: Declaration Description: Example: Type Employee Sub
Main |
||||||||||
Type Symbols |
Variable and parameter types, as well as, function and property results may be specified using a type character as the last character in their name. Type char As Type % Integer ? PortInt & Long ! Single # Double @ Currency $ String |
||||||||||
Userenum |
User defined enums are defined with Enum. |
||||||||||
Usertype |
User defined types are defined with Type. |
||||||||||
Usertypevar |
A user defined type variable holds values for elements of the user defined type. User defined types are defined using Type. Declare with Dim, Private, Public or Static. Declare as a parameter of Sub, Function or Property definition. |
||||||||||
Var |
A variable holds either a string, a numeric value or an array of values depending on its type. |
||||||||||
Variantvar |
A variant variable can hold any type of value (except String*n or usertypevar). or it can hold an array. |
||||||||||
WithEvents |
Syntax: [Dim | Private | Public] WithEvents name As objtype[,...] Group: Declaration Description: Example: Dim WithEvents X As Thing Sub
Main Private
Sub X_DoingIt |