Next Prev Up Top Contents Index

15.5.3 Utilities

The following functions enable and disable the square bracket syntax:

enable-sql-reader-syntax

Function

enable-sql-reader-syntax

Turns on square bracket syntax and sets the state so that restore-sql-reader-syntax-state enables the syntax again if it is subsequently disabled.

disable-sql-reader-syntax

Function

disable-sql-reader-syntax

Turns off square bracket syntax and sets the state so that restore-sql-reader-syntax-state disables the syntax again if it is subsequently enabled.

locally-enable-sql-reader-syntax

Function

locally-enable-sql-reader-syntax

Turns on square bracket syntax and does not change the syntax state -- so restore-sql-reader-syntax-state restores the current enable/disable state.

locally-disable-sql-reader-syntax

Function

locally-disable-sql-reader-syntax

Turns off square bracket syntax and does not change the syntax state -- so restore-sql-reader-syntax-state restores the current enable/disable state.

restore-sql-reader-syntax-state

Function

restore-sql-reader-syntax-state

Sets the enable/disable state of the SQL reader syntax to reflect the last call to either enable-sql-reader-syntax or disable-sql-reader-syntax .

The intended use of locally-enable-sql-reader-syntax and locally-disable-sql-reader-syntax is in a file:

#.(locally-enable-sql-reader-syntax)
    <stuff using [...]>
#.(restore-sql-reader-syntax-state)

LispWorks User Guide - 14 Dec 2001

Next Prev Up Top Contents Index