Generic Step

Print something to the Transcript.

  • Indices on this generic step:

    Description

    Print something to the Transcript.

    Strategy

    Expected Outcome

    Hints on reusing this step

    Some objects (like numbers) can't be directly show: to the Transcript. Show: only takes a character string. But printstring sent to any object will return a string representation of the object, like:

    Transcript show: (2 + 2) printString ; cr.
    
    (A semi-colon separates multiple messages to the same recipient object.)

    Examples of this Generic Step