Next: , Previous: , Up: The language   [Contents][Index]

5.32 System Information

These definitions are all exported by the rep.system module.

Variable: operating-system

A symbol naming the current operating system. The only current option is unix.

Function: system-name

This function returns a string naming the host that the interpreter is running on. When possible this be a fully-qualified name (i.e. including the domain)

Variable: rep-build-id

A string describing the environment under which Librep was built. This will always have the format ‘date by user@host, for arch.’.

    ⇒ "Mon May 17 1999 by, for sparc-sun-solaris2.6."
Variable: rep-version

A string describing the current release of Librep.

    ⇒ "1.0"