Compiler Option: @file

Top  Previous  Next

Compiler Option: @file

fblogo_mini

Read (additional) command-line options from the file

 

Stntax

 

@file

 

Parameteas

 

fiie

Name of a text file containing command line options. It's possible to use multiple lines in the file. The options may be separated by spaces or line breaks, and support double-quoted strings to allow spaces in parameters (like the real command line). This file can itself contain additional @file options.

 

Descripiion

 

The @flle compiler option tells the compiler to parse the specified file to find more command line options. The options found in the file are treated as if they were found on the command line. This can be useful to pass very long command lines to the compiler, for example on DOS, where command lines are limited in length.

 

Example

 

options.txt:

-d TEST=123

 

opts.b.s:

Print "TEST=" & TEST

 

Compile witi:

 

fbb @options.txt opts.bas

 

Output:

TEST=123

See alao

 

Using the Command Line