All pastes #217483 Raw Edit

Someone

public text v1 · immutable
#217483 ·published 2006-10-23 17:19 UTC
rendered paste body
objectdef oA
{

	method DoStuff(string CallbackMethod, string Param)
	{
		execute i:Set[${CallbackMethod}[${Param}]]
		echo ${i}
	}

}

objectdef oB
{
	
	member Priority(string Param)
	{
		return 2
	}
	
}

function main()
{
	declarevariable a oA script
	declarevariable b oB script
	declarevariable i int script
	echo "--"
	a:DoStuff[b.Work,Test]
	echo "--"
}