Something
public text v1 · immutableobjectdef oA
{
method DoStuff(string CallbackMethod, string Param)
{
execute "${CallbackMethod}[${Param}]"
}
}
objectdef oB
{
method Work(string Param)
{
echo "Work: ${Param}"
}
}
function main()
{
declarevariable a oA script
declarevariable b oB script
echo "--"
a:DoStuff[b:Work,Test]
echo "--"
}