> I thought that EXTRACT was not taught anymore 
> as the <> nomenclature works as well.

The "<> nomenclature"  _I_S_  "EXTRACT".  Or "REPLACE", for assignments.

Whenever anyone in this thread or on this list says "extract" or
"replace" they are probably  thinking of coding it as the <> syntax
shortcut, rather than the completely equivalent, but less readable,
function forms.

It has been this way for decades (plural) across - I dare say - _A_L_L_
MV platforms.


E.g., VLIST from UniVerse:

00001:       Y = X<2,3> ; Y = EXTRACT( X, 2,3,0 )
00001 00000 : 060 dyn_extract    X 2 3 0  => Y 
00001 0000C : 060 dyn_extract    X 2 3 0  => Y 

00002:       A<2,3> = B ; A =  REPLACE( A, 2,3,0; B )
00002 00018 : 064 dyn_replace    A 2 3 0 B  => A 
00002 00026 : 064 dyn_replace    A 2 3 0 B  => A 


I can't imagine any MV platform compiling the 2 nomenclatures
differently from one another.

Dawn Wolthius, our resident historian, can probably tell us where the <>
syntax started.  My guess is Devcom Information.

cds
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to