XLISP *file-separator*

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# *file-separator*

Type: | - | system variable
Source: | - | system.lsp

## Syntax

*file-separator*

## Description

The Nyquist *file-separator* variable is initialized to the operation system's file separator character. It has a value of #\\ on Windows and a value of #\/ on Unix [including Linux and Mac OS X].

## Examples

    *file-separator*  => #\/  ; on Unix, Linux, and Mac OS X
    *file-separator*  => #\\  ; on Windows

Back to Top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference