Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: APL2000's M...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 9 Topic 1003 of 1081
Post > Topic >>

Re: APL2000's MOM object

by JWG <john@[EMAIL PROTECTED] > May 2, 2008 at 10:15 AM

On May 1, 11:48=A0am, AAsk <AA2e...@[EMAIL PROTECTED]
> wrote:
> I have not used MOM, as I mentioned, and all I could remember was the
> try .. catch structure in the same paper that discussed MOM. If I
> remember correctly, it was introduced quite a few versions back, was
> it version 5? I do not have a version that has MOM; however, it is
> unlikely that you would encounter any nasty surprises with it.
>
> I am encouraged to sense that you seem pretty excited about this ... I
> find it very welcome to find people adopting techniques that do not
> belong to traditional APL but from an APL development environment.
>
> Why don't you investigate it a little more and then write up your
> findings for VECTOR, the journal of the British APL Association? Have
> a look atwww.vector.org.uk;this has all the contact details (you
> need to contact Stephen Taylor). You could also post the article in a
> common format (rft or pdf) unto the APL2000 website
forumhttp://forum.apl2=
000.com/.
>
> When you have, perhaps you can answer a question: can you persist i.e.
> save a MOM onject or it is a session bound object only?
>
> Interestingly, I am presently looking into JSON, primarily from APL
> +Win. JSON =3D JavaScript Object Notation. This is a little like the MOM
> example you give but uses COM syntax. To give you a (simple) glimpse
> of what this is:
>
> a<-'var myObj =3D {name: "John", DOB: "01/01/1980"};'
>
> 'APL' []wi 'Create' 'MSScriptControl.ScriptControl'
> 'APL' []wi 'xLanguage' ''
> 'APL' []wi 'xLanguage' 'JavaScript'
> 'APL' []wi 'XAddCode' a
> 'APL' []wi 'XEval' 'myObj.name'
> John
>
> JSON is meant to be {simpler} XML and as a mechanism for data-
> interchange. It does handle APL literals, scalars, vectors and nested
> arrays: ironically, JavaScript does not intrinsically sup****t multi-
> dimensional simple arrays but there are ways to coerce this.
>
> Thank you for your comment about the book. (Someone) need(s) to write
> one on Visual APL, the other great product produced by APL2000.
>
> With APL, you have chosen the best language to learn; however, it is
> just one of the many languages you can learn. For instance, the
> Express version of C# 3.0 is available as a free download.

Thanks for the info on JSON.  APL2000 probable has put MOM on the back
burner and switched to the development of JSON. It looks to me that
APL2000 is =91computerizing=92 the steps you outlined in Chapter 8 of
=91System Building with APL+WIN=92 to create a Script Component .

JSON may have more market acceptance (sale appeal) than MOM. It will
be interesting to see.

With reference to your question whether a MOM object can be
persistent.

I created a MOM object with two large functions as members in a
workspace named FOO.  I saved it and then did the following...

      )CLEAR
CLEAR WS

      )COPY FOO FNS   =A9 FNS is the []MOM object created in the FOO WS
SAVED Thursday, May 01, 2008 03:21:19 PM

      FNS.[]NL 3       =A9 list the functions in "FNS"

GHvac
GHvac_Handlers

      rho FNS.[]CR 'GHvac' =A9 Note that these are not trivial functions
3039 611

      rho FNS.[]CR 'GHvac_Handlers'
3510 468

So, as I understood your question, I would say, "Yes, a MOM's
reference object is persistent".

 Eric Lescasse has an example of MOM on his web page that I believe
you will find of interest.

	http://www.lescasse.com/APLWin60Quadmom.asp
 




 9 Posts in Topic:
APL2000's MOM object
JWG <john@[EMAIL PROTE  2008-04-30 13:40:32 
Re: APL2000's MOM object
AAsk <AA2e72E@[EMAIL P  2008-05-01 00:18:29 
Re: APL2000's MOM object
JWG <john@[EMAIL PROTE  2008-05-01 09:16:33 
Re: APL2000's MOM object
AAsk <AA2e72E@[EMAIL P  2008-05-01 11:48:54 
Re: APL2000's MOM object
JWG <john@[EMAIL PROTE  2008-05-02 10:15:14 
Re: APL2000's MOM object
AAsk <AA2e72E@[EMAIL P  2008-05-02 10:48:05 
Re: APL2000's MOM object
JWG <john@[EMAIL PROTE  2008-05-03 09:15:19 
Re: APL2000's MOM object
AAsk <AA2e72E@[EMAIL P  2008-05-03 12:10:33 
Re: APL2000's MOM object
JWG <john@[EMAIL PROTE  2008-05-05 08:38:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:51:57 CDT 2008.