Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a variable for an Object name #97

Open
Lampboii opened this issue Sep 9, 2021 · 0 comments
Open

Using a variable for an Object name #97

Lampboii opened this issue Sep 9, 2021 · 0 comments

Comments

@Lampboii
Copy link

Lampboii commented Sep 9, 2021

Hello, first off, this is super cool.
I was trying to dynamically create an object like so SomeClass $($var:someVariable), this works and the object is created.
The issue arises when I try to access that object's properties or methods like this $var:$($var:someVariable) or $var:$someVariable which does not work and throws "Undefined Command".
Am I doing this wrong or this just doesn't work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant