Can i get information about dynamic constants from modules with introspection?


I’am using introspection to get and set properties at runtime. A very nice feature I think.
But I did not found any way to do this in the same manner with (dynamic) constants from modules!?
I want to search about the constant name to get the (dynamic) string value.
Is there anyone who knows whether that is possible?

The LR only speaks of the following classes:
AttributeInfo, ConstructorInfo, MemberInfo, MethodInfo, PropertyInfo, TypeInfo, and ParameterInfo

Thank you very mutch in advance…


Introspection only works with objects, not with scalars (and constants only can be scalars).

Also see: Picking A Language At Runtime