RosettaCodeData/Task/Runtime-evaluation-In-an-environment/AppleScript/runtime-evaluation-in-an-environment-1.applescript

7 lines
182 B
AppleScript
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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