What is the correct way to compare a variable to itself? (As in):
SCAR Code:
if variable=variable then
begin
//do something
end else
begin
//do something else
end;
end;
I tried that and it didn't work... I also tried "variable==variable"...
Next question, in the Withdraw(Col, Row, Amount: Integer); function, what do you do if you want to withdraw all? (or maybe there's a different function all together?) I ask because it's a little suspicious if you withdraw "20" by typing it in every time, when you could just click the "withdraw-20" function that pops up after typing it in once...
EDIT: I know you can just move the mouse to the item you want, right click and use the "ChooseOption" function, but I'm wondering if there's an easier way...
Thanks
-Macros