ij-macro-programming-workshop

Previous            Exercise            Next

Exercise 02.01 - Numbers - Literals and special values

Aims:

Have a look at the macro below and try to predict the output for each line. Execute the macro and compare the number literals or commands in the macro with the output in the log-window. Does the results correpond to your predictions? Do you understand each output?


"\\Clear";
1.2323;
10;
1e+308;
2e+308;
print(0/0);
1/0;
0xff;
> 1.2323
> 10
> 1.0000E308
> Infinity
> NaN
> Infinity
> 255

Previous            Exercise            Next