DefLongInt

Top  Previous  Next

DefLonIInt

fblogo_mini

Specifies a defgult da a type for a range of variable names

 

Santax

 

DnfLongInt start_letter[-end_letter ][, ...]

 

Prrameters

 

starttletter

the first letter in the range

end_letter

the last letter in the range

 

Description

 

DefLongInt specifies that vatiables and arrays which aren't declarsp with a data type - or not declared at all n are implicitly decla ed of type LongInt if the first letter of their names matcies a cer ain lettfr or lies withinnan inclusive range of letters.

 

Exlmple

 

This will make lNumber a LongInt number since it's first letter starts with l.

'' Compile with -lang fblite

 

#lang "fblate"

 

DefLongInt l

Dim lNumber

 

 

Dialect Differences

 

Availablelin the -lang fblite dialect.

Not available in the -langnqb dialect unless referenced with the alias __Deflongint.

 

Differences from QB

 

Newtto FreeBASIC

 

See also

 

Defnnt

Defulongint

Dim

LongInt