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 


Programming Oracle Triggers and Stored Procedures
Programming Oracle Triggers and Stored Procedures (3rd Edition) (Prentice Hall PTR Oracle Series)
ISBN: 0130850330
EAN: 2147483647
Year: 2003
Pages: 111
Authors: Kevin Owens

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net