Home | History | Annotate | Download | only in cs
      1 Parsing test3.cs
      2 
      3 
      4 
      5 
      6 
      7 
      8 before weekday
      9 
     10 
     11 
     12   
     13 
     14   
     15 
     16   
     17 
     18   
     19     Thur
     20   
     21 
     22   
     23 
     24   
     25 
     26   
     27 
     28 
     29 Fri
     30 
     31 
     32 
     33 before echo
     34 
     35 echo a variable: 3
     36 
     37   3
     38 
     39 echo a string: hellow world
     40 
     41   hello world
     42 
     43 echo a number: 5
     44 
     45   5
     46 
     47 
     48 
     49 
     50 echo a variable: 3
     51 
     52 
     53   3
     54 
     55 
     56 echo a string: hellow world
     57 
     58 
     59   hello world
     60 
     61 
     62 echo a number: 5
     63 
     64 
     65   5
     66 
     67 
     68 
     69 
     70 
     71 
     72 
     73 these tests show that local variables are live in sub calls 
     74 echo a variable: 3
     75 
     76   
     77   3
     78 
     79 
     80 echo a string: hellow world
     81 
     82   
     83   hello world
     84 
     85 
     86 echo a number: 5
     87 
     88   
     89   5
     90 
     91 
     92 
     93 after echo
     94 
     95 
     96 
     97 testing macro calls in local vars in an each
     98 
     99   
    100   0 == Mon
    101 
    102   
    103   Mon
    104 
    105 
    106   
    107   1 == Tues
    108 
    109   
    110   Tues
    111 
    112 
    113   
    114   2 == Wed
    115 
    116   
    117   Wed
    118 
    119 
    120   
    121   3 == Thur
    122 
    123   
    124   Thur
    125 
    126 
    127   
    128   4 == Fri
    129 
    130   
    131   Fri
    132 
    133 
    134   
    135   5 == Sat
    136 
    137   
    138   Sat
    139 
    140 
    141   
    142   6 == Sun
    143 
    144   
    145   Sun
    146 
    147 
    148