thread.easyCall

Syntax thread.easyCall (s, paramList)

Params s is a string value containing the name of a script.

paramList is a list of the parameters to be passed to the script.

Action Calls the script s with the specified parameters in a newly-created thread.

Returns True.

Examples thread.easyCall ("dialog.threeway", {"Pick a word!", "oh", "the", "buzz"})

   » true

Notes The caller of this verb cannot directly determine the result of the expression s. To store the result in a specified location, use thread.evaluateTo.

This verb is implemented as a script.

For Frontier 6.1, this verb was updated to ensure that the second parameter is a list, as the documentation already said it must be. This update was necessary because of a new feature in 6.1, for..in looping for tables.

See Also thread.evaluateTo

thread.evaluate

Discuss