BASIC

Author Topic: CONSTANT in TYPES!  (Read 1722 times)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4974
  • O Rly?
    • View Profile
CONSTANT in TYPES!
« on: 2013-Oct-12 »
Hi Gernot,


is it possible to initialize the CONSTANTS before the TYPES?
So that we can do this:

Code: GLBasic [Select]
CONSTANT MaxX = 12
CONSTANT MaxY = 14
CONSTANT MaxZ = 16

TYPE Whatever
    Map[MaxX][MaxY][MaxZ]
ENDTYPE
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard