To execute XLOGO, here is the syntax of the command:
java -jar xlogo.jar [-a] [-lang en] [-memory 64] [file1.lgo file2.lgo ...]
List of available options:
- Attribute -lang: this attribute specifies a language for XLOGO. This parameter overwrites the one from the
config file called .xlogo. Have a look at the following table which shows all available languages:
| French || English || Spanish || german || Arabic || Portuguese || Espéranto || Galician || Greek
| fr || en || es || de || ar || pt || eo || gla el
- Attribute -a: this attribute indicates execution of the main command, contained in the loaded files on startup,
after XLOGO’s window has opened.
- Attribute -memory: this attribute changes the corresponding memory space allocated to XLOGO.
- file1.lgo, file2.lgo ...: these files in format .lgo are loaded on XLOGO startup. These files could be local or
distant. Hence, you can specify a local address or a web address.
- Attribute -tcp_port: this attribute allows to modify the default TCP port used for networking (See p.). By
default, its value is 1948.
A few examples:
- java -jar xlogo.jar -lang es prog.lgo:
Files xlogo.jar and prog.lgo are in the current directory. This command executes XLOGO, with
language configured to spanish. Then, it loads the file prog.lgo (Thus, this file is written in spanish...)
- java -jar xlogo.jar -a -lang en http://xlogo.tuxfamily.org/prog.lgo:
This command executes XLOGO in english. It loads the file http://xlogo.tuxfamily.org/prog.lgo.
Finally, the main command from this file is executed on startup.