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

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5030
  • 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 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard