CRT Documentation: Reference

LastMode

Each time TextMode is called, the current video mode is stored in LastMode.

LastMode: word;

Remarks

LastMode is initialized at program startup to the then-active video mode.

See Also

Crt Overview, TextMode