FutureBasic Logo

<<    Index    >> FutureBasic 5

output   statement

output [file] "filePath"

Use this statement to specify a name for the application file that's created when you "Build" a project. If your program doesn't contain an output statement, then FutureBasic will use a default name (as set in your preferences) when you select "Build" (B from the "Command" Menu).
The filePath can be:
The output statement can appear anywhere in your program, but most commonly it appears somewhere near the beginning.

output is a non-executable statement, so you can't affect its operation by putting it inside conditional execution structures like long if...end if. You can, however, conditionally include or exclude it using compile long if.

See Also:
compile; resources