Adblock breaks this site

Prompting users in scar

Discussion in 'Archives' started by -------owned-------, Apr 29, 2007.

  1. -------owned-------

    -------owned------- Guru
    Banned

    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0
    Prompting users in scar

    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.
     
< R is for Resigning | Small 'asking user' tutorial >


 
 
Adblock breaks this site