Prompting users in scar

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

Prompting users in scar
  1. Unread #1 - Apr 29, 2007 at 4:23 PM
  2. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

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

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site