Table of Contents

DECLARE

PET VIC-20 C64 C16 Plus/4 C128 X16 M65

The declare keyword forward-declares a subroutine or function.

Syntax

DECLARE SUB <name> ([arg1 AS <type> [, arg2 AS <type>, ... ]]) [OVERRIDE] [STATIC] [SHARED]
DECLARE FUNCTION <name> AS <type> ([arg1 AS <type> [, arg2 AS <type>, ... ]]) [OVERRIDE] [STATIC] [SHARED]

Read more about forward declaration here.

See also