Search found 36 matches

by Budgie
Fri Nov 04, 2016 5:26 pm
Forum: Chat
Topic: Dreadful News
Replies: 1
Views: 9333

Dreadful News

I have just heard the dreadful news about Dan Baronet. My thoughts go out to his family and friends, and to those who worked with him.

We will miss you. Rest in peace.
by Budgie
Fri Sep 09, 2016 1:11 pm
Forum: APL Chat
Topic: How many changes has ⎕R made?
Replies: 9
Views: 33606

Re: How many changes has ⎕R made?

This is supposed to be a simple application of searching and replacing text that has been generated by OCR. As you know, OCR is not perfect, and there are lots of false readings, perhaps influenced by a built-in spelling dictionary. When the language you are OCR-ing from is not the same as the ...
by Budgie
Fri Sep 09, 2016 12:13 pm
Forum: APL Chat
Topic: How many changes has ⎕R made?
Replies: 9
Views: 33606

Re: How many changes has ⎕R made?

It is worthwhile to read documentation on ⎕R and ⎕S. It is the first system function I've seen that works with data items outside the 'usual' numeric character and enclosed domains. ≢⎕←'.at'⎕S⊢'The cat sat on the mat' #.[⎕S match info] #.[⎕S match info] #.[⎕S match info] 3 Essentially, regular expre ...
by Budgie
Wed Sep 07, 2016 2:47 pm
Forum: APL Chat
Topic: How many changes has ⎕R made?
Replies: 9
Views: 33606

How many changes has ⎕R made?

Is there a nice easy way to determine how many changes have been made by a call to ⎕R?
by Budgie
Sat Nov 15, 2014 11:01 am
Forum: Language
Topic: Convenient Representations of XML/JSON
Replies: 14
Views: 48816

Re: Convenient Representations of XML/JSON

As someone who has used A+ in anger, I would like to recommend to you the concept of the "slotfiller". Obviously I'm not going to suggest it be added to APL exactly as it is in A+, but it is a useful concept which would make some APL processing much simpler. This would require an enhancement to be ...
by Budgie
Fri Oct 10, 2014 8:16 pm
Forum: Chat
Topic: Eastbourne 2014 mugs
Replies: 0
Views: 8402

Eastbourne 2014 mugs

I have discovered that the Eastbourne 2014 mugs are ideal for drinking beer out of: one 500 or 600 ml bottle fills the mug twice.
by Budgie
Thu Jun 12, 2014 10:43 am
Forum: Windows: GUI, COM/OLE/ActiveX
Topic: Callback functions
Replies: 6
Views: 25363

Re: Callback functions

Got it! :namespace SaveSessionLog ∇ Start TimerInterval ⍝ <TimerInterval> is time in minutes between saves :If 0=⎕SE.⎕WX ⎕SE.⎕WX←3 :EndIf :If 0=⎕NC'CheckSave' HowManyLines←¯10 Previous←HowManyLines↑⎕SE.Log ⍝ Start with these 'CheckSave'⎕WC'Timer'(60000×TimerInterval)('Event' 'Timer' 'CB_CheckSave') : ...
by Budgie
Thu Jun 12, 2014 9:48 am
Forum: Windows: GUI, COM/OLE/ActiveX
Topic: Callback functions
Replies: 6
Views: 25363

Re: Callback functions

Every application should have its own session log file, to avoid losing what happened last time something was done in application xxx when you have been enhancing application yyy for the past week or so. My idea was to change the log file on the fly, and read the new logfile in, replacing what was ...
by Budgie
Tue Jun 10, 2014 10:54 pm
Forum: Windows: GUI, COM/OLE/ActiveX
Topic: Callback functions
Replies: 6
Views: 25363

Re: Callback functions

Thanks, Ray, that's helpful. What I was hoping to do was load the session-log file under program control whenever a different workspace is loaded (or the default one if one named after the workspace doesn't exist), and maybe also save it at regular intervals so that I've got some stuff from my ...
by Budgie
Mon Jun 09, 2014 9:05 pm
Forum: Windows: GUI, COM/OLE/ActiveX
Topic: Callback functions
Replies: 6
Views: 25363

Callback functions

Hi

What is signified by enclosing the event's callback in square brackets? This happens in ⎕SE:

⎕SE.mb.log.open.Event
Select [OpenLog]

Also, where can I find the code for the OpenLog function.