Hi Alexey,

it works on my machine:

      DISPLAY←{8⎕CR ⍵}

      ⎕CR 'DISPLAY'
λ←DISPLAY ⍵
λ←8⎕CR ⍵

      DISPLAY 1 2 3
┌→────┐
│1 2 3│
└─────┘

You must be careful that your is the proper one:

      ⎕UCS '⍵'   ⍝ Omega in GNU APL
9077


There could be characters that look like but are not..

/// Jürgen


On 09/04/2015 08:16 PM, Alexey Veretennikov wrote:
Hi,

I want to make an alias for the display function, like in Dyalog APL DISPLAY, but by some reason can't.
I want to function DISPLAY behave as 8⎕CR:

DISPLAY←{8⎕CR ⍵}

produces an error:
DEFN ERROR
      λ1
      ^

The
      DISPLAY←8⎕CR
also doesn't work:

SYNTAX ERROR
      DISPLAY←8 ⎕CR
      ^         ^

As a newbee, I would like some tips on what I'm doing wrong :)

Br,
/Alexey



Reply via email to