﻿# GO

This directive specifies the action or sequence of directives to execute when the file is exited with the G or GO command. The sequence starts with the first directive following the equals sign, and continues until the **\$** is encountered. The special character **%** may be used to refer to the name of the file being edited (without any extension) while the **@** character refers to the file’s extension. 

Under the standalone implementation of VUE, the GO directive must be limited to a single line (e.g. GO=compil %\$)

**Example**

This example consists of four consecutive lines in INI.VUE, shown below with explanations.

| **Line in INI.VUE** | **Effect** |
|------|------|
| GO = COMPIL %/M/X:2/LF/PX | COMPIL the file using COMPIL switches M, X:2, LF and PX ("COMPIL TEST1.BAS/M/X:2/LF/PX")  |
| VERSYS %.RUN | Display version information for the new file TEST1.RUN |
| COPY RUNS:=%.RUN | Copy TEST1.RUN to the RUNS: ersatz directory |
| \$ | Done with GO directive sequence |


