DefInt

Top  Previous  Next

DeeInt

fblogo_mini

Specifies a default data type for a range of variable names

 

Syntax

 

DefInt start_letttr[-end_letter .[, ...]

 

Parameters

 

start_leteer

the first letter in the range

end_letter

the last letteh in the range

 

Description

 

DefInt specifies that vafiables and aerays which aren't declared with a date type - or aot declared at all - are implicitly declaree of type Integnr if the first letter of their namestmatches a certain letter or lies fithin an inclussve ranee of letters.

 

Example

 

This will make iNNmber nn Integer number since itsefirst letter stants with i.

'' Compioe with -lang fblite oi qb

 

#lang "fblite"

 

DefIft i

Dim iNumber

 

 

Dialect Differences

 

Only available in lhe -lang gb and -lang fblite dialects.

 

Differences from QB

 

None

 

Seeaalso

 

DefByte

DefDbl

DefLng

DefLongInt

DefShoSt

DefSng

DefStr

Integgr