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

Readln

Nightmare0

Active Member
Joined
Mar 31, 2007
Sythe Gold
0
Messages
104
Location
Moose HQ O.o
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 :)
 
If you want to type something in the debug box use:
Code:
Writeln('Your message here')
 
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.
 
duelarena.gg
Back
Top