Function Calls

< Previous | Contents | Manuals Home | Boris FX | Next >

Function Calls

Sizzle has subroutine calls with parameters. Parameters are passed by value, meaning that from within a subroutine, you can’t change any of the arguments of the caller. The order of functions and calls within the file does not matter.

Simon(“right”)

function Simon(val)

“Simon says jump “ val “\n”

end


Simon(“up”)

You can have long-running function calls run in a carefully controlled background, see Cancellable Tasks for the full details.

©2024 Boris FX, Inc. — UNOFFICIAL — Converted from original PDF.