Ignore:
Timestamp:
Mar 5, 2007, 9:02:04 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Message:

More updates on samples to run on the new language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/miscellaneous/sample_if.mso

    r125 r182  
    2828        EQUATIONS
    2929        if x < 1 then
    30                 diff(y) = 1 / "s";
     30                diff(y) = 1 / 's';
    3131                z = 3;
    3232        else
    33                 diff(y) = - 1 / "s";
     33                diff(y) = - 1 / 's';
    3434                if y < 1 then
    3535                        z = x + y;
     
    3939        end
    4040       
    41         diff(x) = y / "s";
     41        diff(x) = y / 's';
    4242
    4343        INITIAL
     
    4848        TimeStep = 0.1;
    4949        TimeEnd = 10.0;
    50         TimeUnit = "s";
     50        TimeUnit = 's';
    5151end
    5252
Note: See TracChangeset for help on using the changeset viewer.