× 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.



Scott,

>Actually, I used user spaces with pointers in V3R2.   You just have to use
>an array for the pointer arithmetic.

The problem with the array method is the 32K limit.  I did use it in triggers
all the time under V3R2 though.

I also wrote a little MI program for V3R2 to allow me to use pointer arithmetic.
It just took three parameters:

  - Pointer
  - Offset to add or subtract
  - Optional opcode: "ADD" or "SUB"  with "ADD" as the default

I used a subprocedure to call it.  I think it is in the MI list archives.  It
left itself in storage so was pretty fast as it had a trivial number of
instructions...

Thankfully I no longer need to support V3R2 and get to use all the goodies up
through V5R1 now!

Doug


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.