Question about parallel each (IÏ)

General APL language issues

Question about parallel each (IÏ)

Postby PGilbert on Sun Aug 27, 2017 1:01 pm

In a )CLEAR WS if I do the following with version 16.0.30848 (Unicode 32 Bits):

      )load isolate
C:\Program Files (x86)\Dyalog\Dyalog APL 16.0 Unicode\ws\isolate.dws saved Wed Jun 28 11:13:34 2017

⎕using←'System,mscorlib.dll'

dt←10⍴⎕new DateTime ⎕ts

{⍵.Day}¨ dt ⍝ This is working as expected
27 27 27 27 27 27 27 27 27 27

{w.Day}IÏ dt ⍝ This is not working
FUTURE ERROR: 6: VALUE ERROR: {w.Day}
{w.Day}IÏ dt


Is there is some limitation in passing a .Net object while using parallel each ?

Thanks in advance,
User avatar
PGilbert
 
Posts: 436
Joined: Sun Dec 13, 2009 8:46 pm
Location: Montréal, Québec, Canada

Re: Question about parallel each (IÏ)

Postby Morten|Dyalog on Sun Aug 27, 2017 1:07 pm

PGilbert wrote:Is there is some limitation in passing a .Net object while using parallel each ?

Hi Pierre,

It is not possible to pass objects of any kind to an isolate, as it is running in a separate process (it might even be on a different machine). No .Net objects and also no COM, GUI or APL-based objects.

Sorry about that!

Morten
User avatar
Morten|Dyalog
 
Posts: 453
Joined: Tue Sep 09, 2008 3:52 pm

Re: Question about parallel each (IÏ)

Postby PGilbert on Sun Aug 27, 2017 1:15 pm

Thanks for the answer Morten.
User avatar
PGilbert
 
Posts: 436
Joined: Sun Dec 13, 2009 8:46 pm
Location: Montréal, Québec, Canada


Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest