mario_kn15
2013-07-14 14:48:55
please
2013-07-14 14:48:55
2013-07-14 14:56:08
2013-07-14 15:09:35
From: Rich
Which line is the one giving the error? I'm on my phone at the moment so can't tell.
2013-07-14 15:14:01
2013-07-14 18:09:49
2013-07-14 23:28:52
From: Kasi
please name your variables + procedures more with more intention :S also use standards?
your using function parameters wrong putting booleans where integers are supposed to be.
your putting semicolons in procedure parameters.
your assigning booleans to integers. you cant set a integer to false
you have internal errors. aka your assigning in boolean statements(if, untils etc) (using :=) instead of (=)
program new;
var
i: variant;
begin
i := 1;
if (i) then
writeln ('A');
if (i = true) then
writeln ('B');
i := 0;
if (i) then
writeln ('C');
if (i = true) then
writeln ('D');
i := -1;
if (i) then
writeln ('E');
if (i = true) then
writeln ('F');
i := 129632198321;
if (i = true) then
writeln ('G');
if (i) then
writeln ('H');
if (i <> false) then
writeln ('I');
i := false;
if (i = 0) then
writeln ('J');
end.
A
B
E
F
H
I
J
2013-07-15 02:39:48
From: bob_dole
possible to use an integer as a Boolean or Boolean as an integer.
2013-07-15 04:18:03
2013-07-15 06:23:08
From: masterBB
Where did you get that script. We don't allow it on our forum.
2013-07-15 07:36:41
From: Rich
Why not? :confused:
Am I missing something?
2013-07-15 07:39:07
From: masterBB
It is obfuscated. We do not allow obfuscated scripts.
2013-07-15 11:21:11
From: masterBB
It is obfuscated. We do not allow obfuscated scripts.
2013-07-15 11:41:33
From: masterBB
It is obfuscated. We do not allow obfuscated scripts.
From: Kasi
Why do we have a obfuscate as a extension on simba?
2013-07-15 12:47:29