Tyl Programming Language
▶ EXEC DIRECTIVE
When we want our program to be of executive style, meaning, the program will run and execute things in the background, without showing Tyl Launcher GUI, we will write:
@exec
The line: @exec, is called the exec-directive line.

exec-directive line can occur only at the start of the program.

Consider this executive program:
@exec

main »
 state 1
io.write 'state.data' state
The use of the term: executive, is merely means that it is the sole purpose of the program.

Here's an indicative program:
main »
 state 1
io.write 'state.data' state
io.exists 'state.data' ? print 'Success'
Success
The previous program with @exec directive:
@exec

main »
 state 1
io.write 'state.data' state
io.exists 'state.data' ? print 'Success'
Because of the @exec directive, the program will set the state file, but will not show the GUI.

If we want to debug an executive program, we can comment out the exec-directive line:
@exec

main »
 state 1
io.write 'state.data' state
io.exists 'state.data' ? print 'Success'
Success