| OCR Text |
Show ..■»>' ■I'm •j* '• •• •■.>■•• 14 Examples; jH-x+y '' 'same as a««-x+y' •» val p^-'b' p-^x+y • • • same as fc+x+y' •' böp may-'new a,b; if a<b then b else a' 2. <simple varlable> <selector> Semantics. The <slni^le variable>' is assumed to contain data. Selection is performed äs in ALGOL 60 and Euler. Tt acts like a simple variable after selection, 3. <8lmple variable> <list> Semanticfe, This is just a procedure activation with actual parameters. 4. <sitople variable> <selector> <list>Semantics. selection is performed first. It then acts like a simple Variable. 5. Notfti All further generalizations of this,type are evaluated from left to right applying procedure activation and selection where needed. Examples: a [x,y,x] (b^d); •'• "a" is an array of procedures'11 a (b/C^d) [x,yfz]; '" "a" is a procedure delivering an array"' w' |