I have the following case:
SCAR Code:case TeleportToComboBox.Text of
'Varrock' : Result := False;
'Lumbridge' : Result := False;
'Falador' : Result := False;
'Camelot' : Result := False;
end;
This is part of a boolean function.
I want any other case to set Result to True.
How would I go about doing that?
--------------------------EDIT--------------------------------------
Solved....
SCAR Code:case TeleportToComboBox.Text of
'Varrock' : Result := False;
'Lumbridge' : Result := False;
'Falador' : Result := False;
'Camelot' : Result := False;
else Result := True;
end;
Kept trying with the : in between else and Result, wasnt needed there.


Reply With Quote