| Previous | Up | Top | Next |
|---|---|---|---|
| Advanced Topic: Table Cell Spanning | The Doco Manual | The Doco Manual | Advanced Topic: Additional Features |
Variables are inserted into your source like this.
My name is $(my.name).
This document last produced on $(doco.date).
Three types of variables can be used in Doco.
Here are the Java variables you can use..
| Property | Meaning | Value during this build |
|---|---|---|
| file.separator | File separator | / |
| java.class.path | Java classpath | (too long to show here) |
| java.class.version | Java class version number | 48.0 |
| java.home | Java installation directory | /usr/java/j2sdk1.4.2_03/jre |
| java.vendor | Java vendor-specific string | Sun Microsystems Inc. |
| java.vendor.url | Java vendor URL | http://java.sun.com/ |
| java.version | Java version number | 1.4.2_03 |
| line.separator | Line separator | (a control character) |
| os.arch | Operating system architecture | i386 |
| os.name | Operating system name | Linux |
| os.version | Operating system version | 2.4.22-1.2174.nptlsmp |
| path.separator | Path separator (for example, ":") | : |
| user.dir | User's current working directory | /home/jd/sourceforge/acmejava-doco/dist |
| user.home | User home directory | /home/jd |
| user.name | User account name | jd |
| Variable | Meaning | Value during this build | Assignation |
|---|---|---|---|
| doco.date | toString of a new Date object | Tue Jun 01 14:22:50 BST 2004 | Dynamic |
| doco.version | The version of Doco used | 0.8 | From doco-variables.properties |
| doco.author | The author of Doco | James Dodd (doddjames@yahoo.co.uk) | From doco-variables.properties |
| doco.document.version | The version of the document (if versioned) | 0.8 | Dynamic |
| doco.document.printable | The name of the printable version of the document (if split into pages) | manual_v0.8_full.html | Dynamic |
These must be placed in your .dpr file and are of the following form.
some.key=some.value
| Previous | Up | Top | Next |
|---|---|---|---|
| Advanced Topic: Table Cell Spanning | The Doco Manual | The Doco Manual | Advanced Topic: Additional Features |