AS

From QB64 Wiki
Revision as of 04:48, 11 November 2010 by imported>Cyperium
Jump to navigation Jump to search

The AS keyword defines a variable value's type.


  • Specifies a variable's type in a declarative statement or parameter list using:


DIM or REDIM
DECLARE
SUB
FUNCTION
TYPE
DEF FN
SHARED
COMMON SHARED
STATIC


  • Specifies a variable's parameter type in a SUB or FUNCTION procedure.
  • Specifies an element's type in a user-defined data type: TYPE
  • Assigns a file number to a file or device in an OPEN statement:
  • Specifies a field name in a random-access record: FIELD
  • Specifies a new file name when you rename a file: NAME




Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page