SCAR Code:program thing;
var x, y : Integer;
begin
y := 0;
x := 2 * y;
x := x / y;
WriteLn(IntToStr(x));
end.
It gives me a funny error![]()
SCAR Code:program thing;
var x, y : Integer;
begin
y := 0;
x := 2 * y;
x := x / y;
WriteLn(IntToStr(x));
end.
It gives me a funny error![]()
~ Metagen
SCAR Code:program thing;
var
x, y : Integer;
begin
y := 0; // has to be more than zero ..
x := 2 * y;
x := x / y;
WriteLn(IntToStr(x));
end.
Just because you have such a nice quote from me in your siggy ^^
Aaand.
Why do all of your "halp?" threads contain stuff like this? XD
Scripts: Varrock Smither! | Fight Caves Runner! | Kebab Buyer! | L.A.M.E. (Outdated)
Tutorials: SRL user-defined procedures | JaGex UID files | Printing your scripts
Applications: StartUp Notepad | SCAR Assistant
Misc: FREE Delphi 7 v2 | Official SRL Graphics
because im bored... ok ill make a new thread with another problem![]()
~ Metagen
Y=0 and if you multiply by 2 you get 0
There for X=0.
On line 8 your saying
And SCAR cant divide by zero.0 := 0 / 0;
edit: Crap you beat me lol.
Originally Posted by irc
Ohh Gee... u caught the error!!! THANKJ00!!!
~ Metagen
There are currently 1 users browsing this thread. (0 members and 1 guests)