Τρίτη 16 Ιουλίου 2024

Revision 35, Version 12

Latest release can be found here

The problem was on the property part on a group definition. Is we didn't use the expanded format, using the block {value, set} or {value {..code here in separate lines}, set {..code here in separate lines}},  we get a [beta] private variable of type variant. Same for the second example. defining a property without any value (and not type also). If we use $ as beta$ we make a string type but not variant. Using beta as variant we can use it to store string value also.

group alfa {
property beta = 1000
}
print alfa.beta
alfa.beta="ok"
print alfa.beta


Second example

group alfa {
property k
}
alfa.k="ok"
? alfa.k
alfa.k=500
? alfa.k

George Karras