x
x
x


Do so in a way which:

 does not involve string manipulation of the input source code
 is plausibly extensible to a runtime-chosen set of bindings rather than just x
 does not make x a global variable


or note that these are impossible.



See also

 For more general examples and language-specific details, see Eval.
 Dynamic variable names is a similar task.


 
on task_with_x(pgrm, x1, x2)
	local rslt1, rslt2
	set rslt1 to run script pgrm with parameters {x1}
	set rslt2 to run script pgrm with parameters {x2}
	rslt2 - rslt1
end task_with_x
 