Skip to content

some auxiliary functions for reflection#117

Merged
lutzhamel merged 1 commit intomasterfrom
aux-fun
Jan 28, 2022
Merged

some auxiliary functions for reflection#117
lutzhamel merged 1 commit intomasterfrom
aux-fun

Conversation

@lutzhamel
Copy link
Copy Markdown
Collaborator

@lutzhamel lutzhamel commented Jan 28, 2022

added some aux function to enable some level of program reflection:

  • getid - returns an unique id (physical memory address) of any Asteroid object as an Asteroid integer
  • isdefined - returns true if a variable or type name is defined in the current environment otherwise returns false

@lutzhamel lutzhamel merged commit e769e1a into master Jan 28, 2022
@lutzhamel lutzhamel deleted the aux-fun branch January 28, 2022 20:32
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

Successfully merging this pull request may close these issues.

1 participant