Action
Declares all variables that are not dimensioned of the DefXXX type.
Syntax
DEFBIT b
DEFBYTE c
DEFINT I
DEFWORD x
Difference with QB
QB allows you to specify a range like DEFINT A - D. BASCOM doesn't support this.
Example
Defbit b : DefInt c 'default type for bit and integers
Set b1 'set bit to 1
c = 10 'let c = 10