Next Previous Up Top Contents Index

14.5 Symbolic SQL syntax

14.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 thatrestore-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 thatrestore-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 -- sorestore-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 -- sorestore-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 eitherenable-sql-reader-syntax ordisable-sql-reader-syntax.
The intended use oflocally-enable-sql-reader-syntax andlocally-disable-sql-reader-syntax is in a file:
#.(locally-enable-sql-reader-syntax)
    <stuff using [...]>
#.(restore-sql-reader-syntax-state)


LispWorks User Guide - 14 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker