docServerUserLandCom picture
Contents
Frontier Site

thread.callScript

Syntax thread.callScript (name, paramlist, adrContext = nil)

Params name is a string representing the address of a script to be called

paramlist is a list containing the parameters to be passed to the script.

adrContext is the optional address of a table to be used as the context to run the script in.

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

Returns True.

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

Notes The caller of this verb cannot directly determine the result of the expression s.

Currently, named parameters are not supported by this verb.

All values in the context table, if provided, are global to script being called. For this purpose, a copy of the context table is passed on to the new thread.

This verb is new in Frontier 6.1. You can use it as a more robust replacement for thread.easyCall.

See Also callScript

evaluate

thread.evaluate

thread.easyCall


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.