Readln

Discussion in 'Scar/Simba Help' started by Nightmare0, Mar 2, 2008.

Readln
  1. Unread #1 - Mar 2, 2008 at 11:10 PM
  2. Nightmare0
    Joined:
    Mar 31, 2007
    Posts:
    104
    Referrals:
    0
    Sythe Gold:
    0

    Nightmare0 Active Member

    Readln

    I was just wondering about the readln function with scar. When the little box comes up with the statement,

    ex)
    Code:
    begin
      readln('Favorite Color');
    end.
    I was just wondering how you do stuff with that information entered. Say i wanted to to display it in the debug box, or use it as a constant. Basically, all the function "encyclopedia's" say it returns a value, but i don't know how to like implement that value, i only know how to make the statement appear.

    If someone could help that would be great :)
     
  3. Unread #2 - Mar 3, 2008 at 5:20 PM
  4. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    Readln

    If you want to type something in the debug box use:
    Code:
    Writeln('Your message here')
    
     
  5. Unread #3 - Mar 4, 2008 at 7:56 AM
  6. Nightmare0
    Joined:
    Mar 31, 2007
    Posts:
    104
    Referrals:
    0
    Sythe Gold:
    0

    Nightmare0 Active Member

    Readln

    nvm i found a good post on srl-forums. btw i wanted what was inputted in the readln box to go to the debug box.
     
< Does SRL even have this function? | No Matter What I Do!!!! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site