Computer Science, asked by jasbirkumar643, 4 months ago

what do you mean by index variable in QBASIC.​

Answers

Answered by ashish200697
0

Answer:

what do you mean by index variable in QBASICwhat do you mean by index variable in QBASIC

Explanation:

what do you

mean by index variable in QBASICwhat do you mean by index variable in QBASIC

Answered by SuryaTrinath
1

Answer:

Q basic is an IDE(integrated development environment) developed by Microsoft to create, edit, debug and execute basic program.QBasic has five built-in types: INTEGER (%), LONG(&) integer, SINGLE(!) float, DOUBLE(#) float and STRING($). QB64 has two more built-in types: _INTEGER64 (&&) and _FLOAT (##)Implicit declaration is by adding the type character to the end of the variable name (%, &, !, #, $, &&, ##). See QBasic/Basic math for more.

Explicit declaration is by using the DIM statement before first use:

DIM a AS STRING

DIM a AS STRINGDIM b AS INTEGER

DIM a AS STRINGDIM b AS INTEGERDIM c AS LONG

DIM a AS STRINGDIM b AS INTEGERDIM c AS LONGDIM d AS SINGLE

DIM a AS STRINGDIM b AS INTEGERDIM c AS LONGDIM d AS SINGLEDIM e AS DOUBLE

DIM a AS STRINGDIM b AS INTEGERDIM c AS LONGDIM d AS SINGLEDIM e AS DOUBLEDIM f AS _INTEGER64 'QB64 only

DIM a AS STRINGDIM b AS INTEGERDIM c AS LONGDIM d AS SINGLEDIM e AS DOUBLEDIM f AS _INTEGER64 'QB64 onlyDIM g AS _FLOAT 'QB64 only

If you do not use either implicit or explicit declaration, QBASIC interpreter assumes SINGLE type.

  • plz subscribe to my YouTube channel MEDICUS GNARITAS
  • plz follow me
  • plz mark me as Brainlist

Similar questions