[Top][All Lists]

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

Re: [Bug-apl] Implementing realtime variable viewer support

From: Kacper Gutowski
Subject: Re: [Bug-apl] Implementing realtime variable viewer support
Date: Wed, 12 Feb 2014 13:15:02 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On 2014-02-12 12:58:05, Elias Mårtenson wrote:
> The key feature that is needed is a way to be informed when a variable is
> changed.

Shared variables have such feature.  Though, it's probably not the right
place for you too look in this case, as shared variables are whole separate
name class and are handled differently than ordinary variables.

But one could even make hackish real-time display without any changes in
interpreter by sharing variable in question and then in another terminal
doing something along the lines of:

      nnnn ⎕SVO 'SVAR'
      0 0 1 0 ⎕SVC 'SVAR'
      SVAR ⋄ →⎕LC  ⍝ print SVAR in a loop every time it's changed

Except that 15×35 array is too big to be shared right now...


reply via email to

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