fn: f++
[contents]

Contents

Syntax

The syntax for f++ calls is:

f++:  
f++{options}(file-path)
f++{options}
{
	//block of f++ code
}


n++:  
@f++{options}(file-path)
@f++{options}
{
	//block of f++ code
}

Description

The f++ function is for evaluating f++ code, it takes zero parameters with the call followed by a block of f++ code otherwise a single parameter that should be a file-path to f++ code to be parsed. See here for more information about f++.

Options

The following options are available for f++ calls:

option description
f or file parse file-path given as single param
!o do not return output
o return output
!p do not parse params
p parse params (default)
option description

n++ example

Example of f++ being used with n++:

@f++("./script.f")
@f++
{
	string str = "hello, world!";
	console(str);
}
@f++
{
	for(:=(int, i=0); i<10; i+=1)
		console("i: ", i)
}