Microsoft KB Archive/37895

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Macintosh QB Limits for Names, Strings, Numbers, Arrays

Article ID: 37895

Article Last Modified on 1/8/2003



APPLIES TO

  • Microsoft QuickBasic Compiler for Macintosh 1.0



This article was previously published under Q37895

SUMMARY

Listed below are the various limits to QuickBASIC Version 1.00 language for the Macintosh. Note: some of these are incorrectly stated in Chapter 1.9 (Internal Representation of Numbers) of the "Microsoft QuickBASIC 1.00: BASIC Language Reference" manual.

MORE INFORMATION

The list of limits is as follows:

Variable Name Length: minimum 1  character
                      maximum 40 characters

String Length:        minimum 0  character
                      maximum 32,767 characters

Integers:             minimum -32768
                      maximum 32767

Long Integers:        minimum -2,147,483,648  maximum 2,147,483,647

Single Precision (positive):
  Decimal (d) version: minimum 9.99999 E-64   maximum 9.99999 E+62
  Binary  (b) version: minimum 1.401298 E-45  maximum 3.40283 E+38
  (Incorrect on page 36)

Single Precision (negative):
  Decimal (d) version: minimum -9.99999 E-64   maximum -9.99999 E+62
  Binary  (b) version: minimum -3.402823 E+38  maximum -1.401298 E-45
  (Incorrect on page 36)

Double Precision (positive):
  Decimal (d) version: minimum 9.9999999999999 D-64
                       maximum 9.9999999999999 D+62

  Binary  (b) version: minimum 4.940656458412465 D-324
                       maximum 1.797693134862315 D+308
  (Incorrect on page 36)

Double Precision (negative):
  Decimal (d) version: minimum -9.9999999999999 E-64
                       maximum -9.9999999999999 E+62
  Binary  (b) version: minimum -1.797693134862315 D+308
                       maximum -4.940656458412465 D-324
  (Incorrect on page 36)

Array Size: Available memory

Number of Array Subscripts Allowed Per Dimension: maximum 32,767

Number of Array Dimensions Allowed:
  Compiled:                minimum 1,  maximum 7
  Interpreter Environment: minimum 1,  maximum 255
                


Additional query words: MQuickB

Keywords: KB37895