Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Access inner variables #8

Open
Michael-K-GH opened this issue Jun 22, 2016 · 0 comments
Open

Access inner variables #8

Michael-K-GH opened this issue Jun 22, 2016 · 0 comments
Assignees
Milestone

Comments

@Michael-K-GH
Copy link
Owner

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 Michael-K-GH added this to the 1.0.0 milestone Jun 22, 2016
@Michael-K-GH Michael-K-GH self-assigned this Jun 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant