Janilabo

Janilabo | IncE() [SCAR Divi]

May 8th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.41 KB | None | 0 0
  1. {==============================================================================]  
  2.   Explanation: Increases the x value by N.              
  3. [==============================================================================}
  4. procedure IncE(var x: Extended; N: Extended);
  5. begin
  6.   x := (x + N);
  7. end;
  8.  
  9. var
  10.   e: Extended;
  11.  
  12. begin
  13.   ClearDebug;
  14.   IncE(e, 0.01);
  15.   WriteLn(e);
  16.   IncE(e, 1.22);
  17.   WriteLn(e);
  18. end.
Advertisement
Add Comment
Please, Sign In to add comment