Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / nel / samples / misc / configfile / simpletest.txt
blob627b2cffbdf8cf025bd82ef933027e5f25c903af
1 // one line comment
2 /*
3  big comment
4  on more than one line
5 */
7         var1 = 123;                     // var1 type:int,    value:123
8         var2 = "456.25";                // var2 type:string, value:"456.25"
9         var3 = 123.123;                 // var3 type:real,   value:123.123
11         // the resulting type is type of the first left value
12         var4 = 123.123 + 2;             // var4 type:real,   value:125.123
13         var5 = 123 + 2.1;               // var5 type:int,    value:125
15         var6 = (-112+1) * 3 - 14;       // var6 type:int, value:-347
17         var7 = var1 + 1;                // var7 type:int, value:124
19         var8 = var2 + 10;               // var8 type:string, value:456.2510 (convert 10 into a string and concat it)
20         var9 = 10.15 + var2;            // var9 type:real, value:466.40 (convert var2 into a real and add it)
22         var10 = { 10.0, 51.1 };         // var10 type:realarray, values:{10.0,51.1}
23         var11 = { "str1", "str2", "str3" }; // var11 type:stringarray, values:{"str1", "str2", "str3"}
25         var12 = { 133, -1 };    // var12 type:intarray, values:{133,-1}
27         var13 = { 1, 0.5, -1 };