Well, i've tried and stuff, but i can't figured out whats wrong. I have a Type Mismatch, but no variables whatsoever. Here's the script:
Any idea? I've searched the forums, and tried to fix it, but to no avail.PHP Code:{.Script Info:
# ScriptName = Math Wizard
# Author = Hey321 A.K.A Mod Macro
# Description = Does as many math problems as possible
# Version = 0.1
# Date = Febuary 6th, 2007
# Comments = Post all math problems you can think of and the equation.
/Script Info}
program MathWork;
Const
Number1=12;//The first number.
Number2=12;//The second number.
Math=1;//1 for Multiplication 2 for Division 3 for Addition 4 for Subtraction
Procedure Multiply;
Begin
WriteLn('Answer is:'+Number1*Number2);
end;
Procedure DetermineProblem;
Begin
If(math=1)Then
Multiply;
If(math=2)Then
Divide;
If(math=3)Then
Add;
If(math=4)Then
Subtract;
begin
MathWorks;
end.




Reply With Quote






