Dyalog commands to clear screen, ring bell

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...

Dyalog commands to clear screen, ring bell

Postby lancepawl on Tue Nov 14, 2017 8:09 pm

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
lancepawl
 
Posts: 10
Joined: Tue Sep 05, 2017 1:43 pm

Re: Dyalog commands to clear screen, ring bell

Postby Vince|Dyalog on Wed Nov 15, 2017 9:30 am

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
Vince|Dyalog
 
Posts: 408
Joined: Wed Oct 01, 2008 9:39 am

Re: Dyalog commands to clear screen, ring bell

Postby lancepawl on Wed Nov 15, 2017 10:21 am

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

Regards,

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


Return to New to Dyalog?

Who is online

Users browsing this forum: No registered users and 1 guest