Got a question that the wiki doesn't answer? Ask on the forum (preferred), or join us on IRC.

BeastNode

CommandHelper/Staged/API/proc

From EngineHub.org Wiki
Jump to: navigation, search



Vital Info

Name proc
Returns void
Usages [name], [ivar...], procCode
Throws FormatException
Since 3.1.3
Restricted
No
Optimizations None

Description

Creates a new user defined procedure (also known as "function") that can be called later in code. Please see the more detailed documentation on procedures for more information. In general, brace syntax and keyword usage is preferred: proc _myProc(@a, @b){ procCode(@a, @b); }

Usages

proc([name], [ivar...], procCode)

Examples (How do these work?)

Sorry, there are no examples for this function! :(




Navigation menu