Datentypen

FreeBas9k has the following datatypes:

AS LONG is a 32-bit signed integer.

AS DOUBLE is a double precision floating point number.

AS STRING is a piece of text or binary data up to 64k in length.

AS DATE stores a date and time combined. Should be y2k compliant. 2 digit years use a fixed window: < 40 += 2000, >= 40 += 1900

AS BYTE is an unsigned value 0-255. Used with GET and PUT.

You can DIM variable of all data types singly, or in one dimensional arrays of unexplored maximum size. Theoretically, you can keep dimming variables until you run out of memory. STRING variables only take up room if you put something into them, so just because you can DIM it does not necessarily mean you can use it.

Siehe auch: Variables - DIM - DEFLONG

Startseite