Topic: APLX Help : Help on APL language : APL Primitives : ⎕ Outputwith newline
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

Output with newline


If appears to the left of the symbol, it causes the result so far to be displayed. This may not be the result of evaluating the complete line as can occur anywhere on the line. The data is output together with a newline (carriage return) character, and is displayed subject to the values of printing precision (⎕PP) and printing width (⎕PW).

             3+⎕←9-7
       2                             (The intermediate result of 9-7)
       5                             (The final result of 3+9-7)
             ⎕← COST← 28×5           (The result is put in COST but is also
       140                            displayed)
             CODE←⎕←⌽'DEATHROW
       WORHTAED                      (Reversed 'DEATHROW' put in CODE and
                                      displayed. Note characters are accepted)

Topic: APLX Help : Help on APL language : APL Primitives : ⎕ Outputwith newline
[ Previous | Next | Contents | Index | APL Home ]