SRL Archive - Help

Making an equation in Simba?


laakerules

2012-01-01 22:16:36

Okay im trying to make an equation, only issue is how do i take away a number from another number?

bolshak25

2012-01-01 22:18:41

X-y

laakerules

2012-01-01 22:20:50

Already tried that. Thinks its the start of a statement or something because its looking for a beginging at line 0

eXoTiK

2012-01-01 22:22:37

var a, b, c: Integer;
begin
a := 3;
b := 2;
c := (a-b);
end;

bolshak25

2012-01-01 22:23:08

Begin
X-y
End

laakerules

2012-01-01 22:31:38

Thank you eXoTiK yours worked. Edited it a little to go to my script but it worked.

eXoTiK

2012-01-01 22:36:30

Np, was just giving you an example to follow.

laakerules

2012-01-01 22:52:01

It worked, Except for it to work in the proggy report i just made the C variable global, except under a different name! with a more complex equation to.