Arithmetic functions built into GOLLL
Operator Descritpion (X - first variable, Y - second variable) Example of use (t, u - variables)
+ Add X & Y (+ 4.3 t)
- Subtract Y from X (- t 1.0)
* Multiply X by Y (* 6 u)
/ Divide X by Y (Y <> 0) (/ 3.9 t)
^ X to the power of Y (^ t u)
sin Sine of X (X in radians) (sin t)
cos Cosine of X (X in radians) (cos t)
tan Tangent of X (X in radians) (tan t)
hsin Hyperbolic sine of X (hsin t)
hcos Hyperbolic cosine of X (hcos t)
htan Hyperbolic tangent of X (htan t)
log Log base X of Y (Y > 0) (* (log 2.71) (/ 1.1 t))
% X mod Y (% t 256)
Parts of a GOLLL Program
Part Description Examples of use
Parametric Variable Definition Statements Define a parametric (vector) variable. Define by either supplying: 
  • range starting value, number of points in the range (> 0), range ending value (DefVarRange)
  • a list of values (DefVarList)
(DefVarRange V001 0.0 25 3.1415) 
(DefVarRange V002 0.0 25 6.2830) 
(DefVarRange V003 0.0 10 1.0) 
(DefVarRange V004 0.0 640 640.0) 
(DefVarRange V005 0.0 480 480.0) 
(DefVarList V006 -5.3 -2.5 0.1 10.45 43.5) 
(DefVarList V007 -1.1 -0.4 -0.3)
DrawXY Statement DrawXY takes two variables and two expressions (x(t) and y(t)). Both the variables must be defined with DefVar statements elsewhere in the program. GOLLLI will substitute the variables in place of dummys t and u and evaluate the functions at the points specified by the variables and plot the corresponding coordinate. (DrawXY (V001) (/ (* (log t) (sin t)) 2.3) (t)) 
ColorXY Statement ColorXY takes three expressions (R(x,y), G(x,y), B(x,y)). x & y are determined by EGO window size. GOLLLI will color the coordinate (x,y) with the RGB color computed by the three functions (and scaled). (ColorXY (* t (^ u (sin t))) (t) (u))