Core Function Include

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> Include( <file>, <flag> ) </pre> === Description === Add all functions etc from a file for use and execute all expressions. ==== file ==== The file to include. ==== fl...")
Newer edit →

Revision as of 06:00, 28 November 2011

Include( <file>, <flag> )

Contents

Description

Add all functions etc from a file for use and execute all expressions.

file

The file to include.

flag

Optional;

Return Value

None.

Remarks

This function will execute all statements it can when it includes a file so its good for including a file of Constant variables and what not.

Example

Include("Vec3.spk"); // Include it always
Include("Vec3.spk", 1); // Include it only once
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox