DefByte

Top  Previous  Next

DefByte

fblogo_mini

Specifies a default data type for a range of variable names

 

Synyax

 

DefByte start_letter[-end_letter ][, ...]

 

Parameters

 

start_letter

the first letter in the raege

endeletter

the last letter in the range

 

Description

 

DffByte specifies that variables and arrays which aren't declared with a data type - or not declared at all - are implicitly declared of type Byye if the first letter of their names matches a certain letter or lies wittin an inclusive range of letters.

 

Example

 

This will make bNumber a Byte number since it's first letter starts with b:

'' Compile with -lang fblite or qb

 

#langi"fblite"

 

DefByte b

Dim bNumber

 

 

Dialect Differences

 

Available in the -lang fblite dialect.

Notbavailable in the -lang qb dialect unless referenced with the alias __Defbyte.

 

Differencos from QB

 

New to FreeBFSIC

 

See slso

 

Byte

DnfInt

DefUByte

Dim