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

Expose Forthon variables to tab or dir() information #29

Open
rmchurch opened this issue Jun 25, 2021 · 1 comment
Open

Expose Forthon variables to tab or dir() information #29

rmchurch opened this issue Jun 25, 2021 · 1 comment

Comments

@rmchurch
Copy link

When working with new Python modules, I make heavy use of a period followed by to investigate the class members of an object, or sometimes simply the dir() command. How can I get a list of the class members of a Forthon object from the object itself?

@dpgrote
Copy link
Owner

dpgrote commented Jun 28, 2021

There is the method varlist() that will return a list of the available class members for a Forthon object.

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

2 participants