[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Correct Syntax for HTML∆xbox ?

From: alexweiner
Subject: [Bug-apl] Correct Syntax for HTML∆xbox ?
Date: Tue, 13 Oct 2015 16:01:14 -0700
User-agent: Workspace Webmail 5.15.9

Hi Bug-APL,
I'm a bit confused. The synopsis states "append text matrices A and B horizontally". The example near the function definition uses slightly different phrasing, and provides an example that does not use exactly "HTML∆xbox":

⍝ append boxes A and B horizontally:
⍝ AABBB   AA      BBB
⍝ AABBB ← AA xbox BBB
⍝ AA      AA

When I tried what I thought was the correct usage, I get an error (see below). Can someone demonstrate how to use this function? 

      )COPY /usr/local/lib/apl/wslib5/HTML.apl
      A←3 2 ⍴'A'
      B←2 3 ⍴'B'
      A HTML∆xbox B
*** Assertion (sert 2 ≡ ≡yA) failed at HTML∆xbox[1]

≡  yA: 1  ┏→━┓
⍴⍴ yA: 2  ↓AA┃
⍴  yA: 3 2┃AA┃

reply via email to

[Prev in Thread] Current Thread [Next in Thread]