Difference between revisions of "AS"

From QB64 Wiki
Jump to navigation Jump to search
(Created page with 'There are many different uses of the AS clause. To specify a variable's type in a declarative statement or parameter list: COMMON DECLARE DEF FN DIM [[FUNCT…')
 
Line 1: Line 1:
There are many different uses of the AS clause.
There are many different uses of the AS clause.


To specify a variable's type in a declarative statement or parameter list:
To specify a variable's type in a declarative statement or parameter list:

Revision as of 00:55, 1 August 2009

There are many different uses of the AS clause.


To specify a variable's type in a declarative statement or parameter list:

COMMON

DECLARE

DEF FN

DIM

FUNCTION

REDIM

SHARED

STATIC

SUB

To specify an elements type in a user-defined data type:

TYPE...END TYPE

To assign a file number to a file or device in an OPEN statement:

OPEN

To specify a field name in a random-access record:

FIELD

To specify a new file name when you rename a file:

NAME