BeeSchema icon indicating copy to clipboard operation
BeeSchema copied to clipboard

Access inner variables

Open Michael-K-GH opened this issue 9 years ago • 0 comments
trafficstars

Allow access of a previously-declared variable's child values in length specifiers and conditions. Proposed syntax uses dot-notation:

struct MyStructType {
    some_value : Int;
}

...

some_struct : MyStructType;
an_array : Byte[some_struct.some_value];

if (some_struct.some_value == 7) { ... }

Michael-K-GH avatar Jun 22 '16 17:06 Michael-K-GH