PCSCHEME BGI primitives reference

This section is a list of recognized BGI primitives, by category. In each category, they are sorted by ``logical'' order, that is, the simplest is at the beginning and the most seldom used or complex at the end. Essential procedures are marked with a harpoon ( $\hookleftarrow$) in the margin. Optional parameters are enclosed in square brackets ([]).

Color, video modes and some other types of parameters for which symbols are listed in this list can be entered either as symbol or as the corresponding number; numbers exist only for BGI compatibility, but you should only use symbols, as they are more ``human''. When a function such as GET-TEXT-SETTINGS is used, a symbol is returned. The only exceptions are GET-COLOR which returns a number to avoid confusion when re-mapping the palette, and GET-GRAPH-MODE because the corresponding symbol depends on the currently loaded driver and might be not available when using an user-installed driver. Equivalence tables can be found in the BGI-ENVIRONMENT.



Subsections