ReneMiner
13-02-2016, 10:58
very short:
I want to have global udt-variables that are unique of a kind as currently:
Type tmyUDT
propertyX As Byte
Function _Create()
'...initialize...
End Function
End Type
Global myUDT As tmyUDT
imagine like this:
Type Unique myUDT
propertyX As Byte
Function _Create()
'...initialize...
End Function
End Type
' myUDT is a global variable now already.
' no array possible
' no other variable of same type shall exist
' none shall Extends it
keyword UNIQUE already available for ARRAY-functions,
also thinkeable syntax:
Type myUDT [Global |] Unique
reason & purpose for this:
script-unit-types, enumerations, really unique globals as TBGL_Window, Mouse, Keyboard etc.
I want to have global udt-variables that are unique of a kind as currently:
Type tmyUDT
propertyX As Byte
Function _Create()
'...initialize...
End Function
End Type
Global myUDT As tmyUDT
imagine like this:
Type Unique myUDT
propertyX As Byte
Function _Create()
'...initialize...
End Function
End Type
' myUDT is a global variable now already.
' no array possible
' no other variable of same type shall exist
' none shall Extends it
keyword UNIQUE already available for ARRAY-functions,
also thinkeable syntax:
Type myUDT [Global |] Unique
reason & purpose for this:
script-unit-types, enumerations, really unique globals as TBGL_Window, Mouse, Keyboard etc.