--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
> 
> But for right now, I am seeing if I can write code in standard M
> (with no
> fancy tricks) that lets one store data is globals or arrays that then
> act
> like objects from other languages.
> 
> Kevin

I can tell you what I sometimes do:

1. Create a Fileman file for new classes you require.
2. Write routines containing entry points to serve as methods. The
instance methods should, of course, have a first parameter that is an
IEN in the file. (You can even call it THIS or SELF, if you like).
3. Implement compositions with subfiles and specialization by creating
.01 fields that point to the superclass.

Of course, this could be accomplished using just globals, too.

===
Gregory Woodhouse  <[EMAIL PROTECTED]>
"Interaction is the mind-body problem of computing."
--Philip L. Wadler


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to