Next: Executing Xlogo from the
Up: XLOGO User Manual
Previous: How can you be
Contents
Index
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 |
fr |
en |
es |
de |
ar |
pt |
eo |
gl |
- 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.
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.
Next: Executing Xlogo from the
Up: XLOGO User Manual
Previous: How can you be
Contents
Index
Loïc
2008-06-08