Note my exact words: <snip> I thought that EXTRACT was not taught anymore as the <> nomenclature works as well... </snip>
I didn't say that the <> isn't EXTRACT. My statement said that I would doubt that someone would teach EXTRACT when they should just teach <>. They may mention it but not spend any time teaching it. It's like long division. I learned it but I also know and use short division. Today's students may not ever use long division. (By long, I don't mean the MS variable type either). Hopefully by now no-one uses EXTRACT and if they support older code, they would have replaced it by now just as a matter of readibility. Mark Johnson ----- Original Message ----- From: "Stevenson, Charles" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, March 05, 2007 1:10 PM Subject: RE: [U2] Universe vs. Unidata > > 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/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
