• Log in or sign up for an account here: https://www.sythe.org/login

Prompting users in scar

Joined
Jan 27, 2007
Sythe Gold
0
Messages
1,225
Location
/bin/sh
Simple prompt.
Code:
program myprompt;
var theprompt:string;
begin;
thepromp:=readln('Whats ya name?');
writeln(theprompt);
end;
theprompt is a variable, at line 4, scar declares the variable 'theprompt' with the thing the users enter. Im sure that you all know what writeln does.
 
Runescape Gamblingrunescape gambling
Back
Top