Creatures Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

DBG: OUTS is a CAOS Debugging command for outputting strings to the Debug Log. (DeBuG: OUTput String)

Usage

Syntax: DBG: OUTS var_or_string_literal(string)

This sends the contents of var_or_string_literal to the Debug Log as a string.

DBG: OUTS is the same as OUTS, with the only difference being that the string is sent to the Debug Log. See OUTS for additional syntax, formatting, and examples.

Examples

Using DBG: OUTS, write a variable to the Debug Log, then display all debug output to date using DBG: POLL:

SETS VA00 "A variable holding a string."
DBG: OUTS VA00
DBG: POLL

Using DBG: OUTS, write the current time and date (RTIM) as formatted by RTIF, to the Debug Log:

DBG: OUTS "Debugging Started at: "
DBG: OUTS RTIF RTIM "%c"

See also

  • OUTS
  • Debug Log
  • DBG: OUTV
  • DBG: HTML
  • DBG: POLL
  • C3 CAOS Debugging Commands
  • FILE OOPE
Advertisement