11.7. Arithmetic Expressions

All third-generation language mathematical operations are provided.

x := -1;           -- x equals minus 3
y := -x;           -- y equals 3
y := -((-3))*(-1)) -- y equals –3
x := 2**10;        -- x equals 1024
x := 1/((60/24)    -- x equals number of seconds in a day

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.209.131