fn: /*
[contents]

Contents

Syntax

The syntax for /* comments is:

f++:  
/* comment */

n++:  
@/* comment */

Description

The /* function is for raw multi-line comments, it skips straight over the text between /* and */.

Note: Nift will skip to the first non-whitespace (ie. to the first character that is not a space, tab or newline) after a multi-line comment and inject it to the output file where the comment started. If you want to prevent Nift from doing this put a '!' after the comment close tag, eg.:

@/*
	multi-line comment without skipping trailing whitespace
*/!

f++ example

Example of /* being used with f++:

/*
	script.f
*/
console("hello, world!")

n++ example

Example of /* being used with n++:

@/*
	script.n
*/
@console("hello, world!")

Sponsors