Search found 7 matches

by PMH
Thu Feb 14, 2013 5:38 pm
Forum: Language
Topic: Reading UTF 8 Files
Replies: 5
Views: 19466

Re: Reading UTF 8 Files

You can replace

Code: Select all

{⍵+256×⍵<0}

with

Code: Select all

256|
by PMH
Tue Jul 03, 2012 11:46 am
Forum: New to Dyalog?
Topic: Handling Missing Data Values-- potential for using NaN
Replies: 8
Views: 30574

Re: Handling Missing Data Values-- potential for using NaN

How do you think about an extension of []DIV ?

Currently,
[]DIV = 0 returns for 1÷0 a Domain Error,
[]DIV = 1 returns for 1÷0 a 0,
and
[]DIV = 2 could return for 1÷0 a NaN.

A NaN could be diplayed as Unicode U+26A0 (⚠)

(See http://unicode.org/review/resolved-pri.html#pri74)
by PMH
Mon Jul 02, 2012 2:24 pm
Forum: New to Dyalog?
Topic: Handling Missing Data Values-- potential for using NaN
Replies: 8
Views: 30574

Re: Handling Missing Data Values-- potential for using NaN

The disadvantage of course is that NaN can not be encoded in integers, so values like -MAXINT are used (in APL, this would typically (by convention) force integers with missing values to be 4 bytes and make for occasionally odd behaviour). Not necessarily, based on these definitions... #define ...
by PMH
Wed Nov 03, 2010 6:17 pm
Forum: APL Chat
Topic: Does now the rest of the world discover APL?
Replies: 3
Views: 9770

Does now the rest of the world discover APL?

There seem to be some men at Google & co thinking about wheater a language should still be limited to ASCII characters. Don't we have a solution for them? ASCII crimps program development, coder says http://www.computerworld.com/s/article/9194021/ASCII_crimps_program_development_coder_says Sir ...
by PMH
Sat Jul 24, 2010 8:12 am
Forum: Announcements
Topic: APL 2010 Berlin
Replies: 0
Views: 6111

APL 2010 Berlin

APL 2010 LPA Array Processing Languages | Learn Parallel Applications will be taking place from 13 to 16 September 2010 in Berlin at the Technical University (TUB). This is a reminder to invite you and all members of the group to register online for the conference under http://www.apl2010.de/ http ...
by PMH
Fri Apr 23, 2010 7:23 am
Forum: Language
Topic: Proposed changed to ⍳⍬
Replies: 2
Views: 10482

Re: Proposed changed to ⍳⍬

This should remain valid anyway:

Code: Select all

      {⊃⍴⍴⍳⍵}¨0 1 2 3 4 5⍴¨0
0 1 2 3 4 5
by PMH
Sat Jan 02, 2010 9:30 am
Forum: Windows: GUI, COM/OLE/ActiveX
Topic: Grid.LockRows
Replies: 2
Views: 10071

Re: Grid.LockRows

Elements of a vector are implicitly enclosed, so remove the enclose: +2⎕NQ'CPro.Class.Root.Control.FM85.TM2' 'LockRows' ⍬ It is only required if the zilde would be the one and only parameter. In that case it needs to be converted into a scalar or one-element-vector by enclose or comma enclose, as it ...