All pastes #217456 Raw Edit

Something

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

	method DoStuff(string CallbackMethod, string Parameter)
	{
		LavishScript:ExecuteAtom[${CallbackMethod},${Parameter}]
	}

}

objectdef oB 
{
	
	method Work(string Parameter)
	{
		echo "Work: ${Parameter}"
	}
	
}

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