SRL Archive - OSR Help

Something like: ShowMessage();


Press Play

2013-03-04 04:41:04

Simba has a ShowMessage(); function that comes up with a pop-up dialogue showing a message and an 'OK' button. Is there a function that displays a dialogue with 'yes' and 'no' options? It would have to return true and false presumably.

tealc

2013-03-04 05:13:52


program new;
var
Reply:Integer;
begin
Reply :=MessageBox('hi','hello',4);
writeln(inttoStr(reply));
end.
For some reason it returns 6 or 7 not true or false

Press Play

2013-03-04 05:15:40

From: tealc

program new;
var
Reply:Integer;
begin
Reply :=MessageBox('hi','hello',4);
writeln(inttoStr(reply));
end.
For some reason it returns 6 or 7 not true or false


Thankyou! Looked everywhere for this :)

E: All the other things return like 1 and 2, but this one returns 6 and 7 like you said - so weird.