I am calling a subroutine from an ITYPE (multi-value field) in UniVerse 11.1.9 - In my SUB I would like to know the current value-mark being processed.Example: ITEM = @RECORD<25, @CNT>I looked at "@" variables, SYSTEM() calls and other documentation and nothing seems obvious. Thoughts?Thanks
Hi,
Ø Lance, you're right. I can't get the sub to be called more than once even if I do something like F6;SUBR('MVSUB') where F6 is mv-ed and the reference should cause the call to repeat. This makes no sense. I don't use Itypes much so have never noticed this.
Ø Anyone know how to force the Call once for every mv?
This is a fundamental difference between Pick style systems and the Information style from which I-types came.
In Pick systems, the expression is evaluated for each value in the data. In Information style systems, the expression is evaluated just once for the entire set of values and can use the very powerful (but at first confusing) multivalue functions to do the whole job in one go.
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
In Pick systems, the expression is evaluated for each value in the data. In Information style systems, the expression is evaluated just once for the entire set of values and can use the very powerful (but at first confusing) multivalue functions to do the whole job in one go
You're right, Scott. I've maintained for years that the ability to process delimited data like that is the most popular D3 request of all time. It doesn't work with BASIC or translates.
T