PC Logo Wiki
Advertisement

Syntax

PRTRACE object

(PRTRACE object1 object2 . . .)

Explanation

PRTRACE prints its inputs to the trace window and adds a carriage return. If the input is a list, PRTRACE removes the brackets. PRTRACE is handy for adding debugging messages during program development.

See also PRINT, TYPE and SHOW.

Examples:

? PRTRACE "HELLO

? PRTRACE [HI HOW ARE YOU?]

?

Pc logo 44

This is a TRACE window. Its displays "HELLO HI HOW ARE YOU?"

Advertisement