× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: DDS Support
  • From: Douglas Handy <dhandy1@xxxxxxxxxxxxx>
  • Date: Tue, 04 Jul 2000 21:53:11 -0400

Don,

>functions...Hmmm..could always write a function to return a multi-d cell
>content...but nothing like eval x=matx(x,y,z) ** 2 +....

Actually, using a function is exactly how I handle multi-function
arrays.  It ends up something like:

   eval x=matx( MatxArrayIndex( x: y: z ) ) ** 2 + ...

where MatxArrayIndex() returns the index for x,y,z mapped to a
one-dimension index for array matx.  It can be used on either side of
the = in an eval.  And I can handle any number of dimensions.  For
that matter, I could easily even make the function use offsets for the
base instead of assuming 1.

As I've said before: adding support for creating our own procedures is
by far my favorite thing they have done to RPG.  Of course, as a
prerequsite it also required expression support and extended factor2,
which I also really like.  Now to just get CF specs ... <drool>

Doug
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.