{The S-lang C Library Reference}: SLsmg_cls

Next Previous Contents

## 19. SLsmg_cls

Synopsis

  Clear the virtual display

Usage

  `void SLsmg_cls (void)`

Description

  `SLsmg_cls` erases the virtual display using the current color. This will cause the physical display to get cleared the next time `SLsmg_refresh` is called.

Notes

  This function is not the same as

  > `

  >          SLsmg_gotorc (0,0); SLsmg_erase_eos ();

  > `

  since these statements do not guarantee that the physical screen will get cleared.
See Also

  `SLsmg_refresh, SLsmg_erase_eos`

Next Previous Contents