View Full Version : Making an equation in Simba?
laakerules
01-02-2012, 03:16 AM
Okay im trying to make an equation, only issue is how do i take away a number from another number?
bolshak25
01-02-2012, 03:18 AM
X-y
laakerules
01-02-2012, 03:20 AM
Already tried that. Thinks its the start of a statement or something because its looking for a beginging at line 0
eXoTiK
01-02-2012, 03:22 AM
var a, b, c: Integer;
begin
a := 3;
b := 2;
c := (a-b);
end;
bolshak25
01-02-2012, 03:23 AM
Begin
X-y
End
laakerules
01-02-2012, 03:31 AM
Thank you eXoTiK yours worked. Edited it a little to go to my script but it worked.
eXoTiK
01-02-2012, 03:36 AM
Np, was just giving you an example to follow.
laakerules
01-02-2012, 03:52 AM
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.