Off the top of my head, I think an obvious use would be to specify one of possibly multiple inherited classes versus using the standard scanning method. I don’t have sample code at hand, but I’m sure you can imagine how it might look/work.
On Jun 20, 2020, at 11:03 AM, Stephen R. van den Berg srb@cuci.nl wrote:
The docs say this: mixed `->(string index, object|void context, int|void access)
Parameter context Context in the current object to start the search from. If UNDEFINED or left out, this_program::this is to be be used (ie start at the current context and ignore any overloaded symbols).
Can someone illustrate this with an example which shows how context can differ and how it could be used? -- Stephen.