All pastes #217480 Raw Edit

Something

public text v1 · immutable
#217480 ·published 2006-10-23 17:14 UTC
rendered paste body
objectdef 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 "--"
}