IncReal

Procedure IncReal(ByRef rea: Real, val: Real)

This procedure adds val to rea. This saves you from typing out the variable name twice.

Example:

Program
  Uses
basilisk, pure2d

Var
   a : Real   
Begin
  InitBasilisk(TRUE)
  OpenScreen(640,480,32,FALSE,COB_SHOWCLOSE+COB_SHOWBORDER)
  
  a = 1.0   
  IncReal(a, 0.5)
  
  Text(10,10,a)
  
  While Not ExitRequested
   Flip
   Pause
(2)
  Wend
     
End