need help with this pascal programming.

Status
Not open for further replies.

shiftyape

Honorable
Feb 23, 2013
48
0
10,580
so, say i wanted to have the user choose the color they wanted to have text displayed in. why i tried this:
write('now choose color');
readln(color);
textcolor(color);

why does this not work? (sorry if i am being really stupid with this quesiton but please help) if that wont work, how can i do it?
 

shiftyape

Honorable
Feb 23, 2013
48
0
10,580


well obviously when i wrote it i added this stuff, i just forgot to put this portion of the code into the question. its a simple question: do you know if this works, or a way it could work, to let the user input data in a way similar to this or this way, to let the user choose the color of the text? sorry im just looking for a straight answer
 
Status
Not open for further replies.