This is a pretty simple thing but I can't get it to work, probably because I have it completely wrong
Simba Code:function didTheStuff(): Boolean;
begin
end;
procedure doTheprocedure();
begin
walkToBank;
dosomethings;
morethings;
someotherstuff;
plusonemorething;
didThestuff() = True;
end;
This is mostly what it is, but when I try to writeLn() it for false and true it always comes out false. What do I have to put in the function to have a difference between true and false? Shouldn't it store whatever true or false value I assign to it? I don't want any failsafes or if (aconfirmation) then things in the function I just want it to state whether or not the script has determined it to be true or false after execution of dotheprocedure.
Thanks
~Wu
EDIT: I will also only be running doTheProcedure once for the entire running of the script so the value for True has to remain true for the entirety of the runtime after it has been changed from false at the start.