Dyalog commands to clear screen, ring bell

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...
Post Reply
lancepawl
Posts: 10
Joined: Tue Sep 05, 2017 1:43 pm

Dyalog commands to clear screen, ring bell

Post by lancepawl »

Does anyone know the equivalent Dyalog commands for the following APLWIN commands:
⎕TCFF ⍝ - Clear screen
⎕TCBEL ⍝ - Ring bell
... etc.

I imported some of my WINAPL workspaces and executing them and getting errors for these things so I need to conform them to Dyalog.
I looked in the Dyalog manuals but I didn't find anything. I thought there would be a section that listed these types of commands, but I couldn't find anything.

Thanks & Regards,

Lance
Vince|Dyalog
Posts: 439
Joined: Wed Oct 01, 2008 9:39 am

Re: Dyalog commands to clear screen, ring bell

Post by Vince|Dyalog »

Hi Lance,

I do not think that we have anything to clear the screen.

You could output a lot of blank lines with this:

      30 ⍴⎕ucs 10


Is this with Dyalog for MS Windows?

If so, we have a quadna workspace which uses ⎕NA to call Win32 functions.

      )load quadna
Windows.Beep


Regards,

Vince
lancepawl
Posts: 10
Joined: Tue Sep 05, 2017 1:43 pm

Re: Dyalog commands to clear screen, ring bell

Post by lancepawl »

Hello Vince,
Yes, it's for Dyalog on Windows. I tried both your suggestions and they work. Thanks very much!

Regards,

Lance
Post Reply