>A while back I posted code that used globals to store object-like
>data.  Once can put functions (or references to functions) into a
>string (stored in the object) and then executed with the "xecute"
>command.
>
>Thus one could shoe-horn object orientated behavior from M
>
>Kevin

I just left an example in a previous message on this topic that shows that you 
can also
(with limitations) use indirection to pass parameters (or add optional 
parameters) to
function and subroutine references in the place of a method attribute.

I have been using an object-like representation for quite a while now in local 
variables
for data records in the data viewer included with M2Web. This includes a 
capability to
download Fileman based data and meta-data to a web browser in JSON or XML 
format.

Additionally, Steve Zeck and I will be working with his Db-GTM Perl module to 
take the
ideas out to Perl. 

---------------------------------------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to