1,105,226 Community Members

Designing simple menu in Pascal

Member Avatar
lkkkeith
Newbie Poster
4 posts since Nov 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I am a newbie in pascal. I'm going to write a procedure that can convert the text inputted into the menu.

ChooseOption(' Yes No ');

Output:
Yes
No

When Down arrow key(#80) is pressed, then it go to the "No" option and change it's colour.
Anyone can code this , it's too difficult for me. Thank you.:$
I'm using the Dev Pascal.

Member Avatar
Duoas
Postaholic
2,039 posts since Oct 2007
Reputation Points: 1,022 [?]
Q&As Helped to Solve: 229 [?]
Skill Endorsements: 10 [?]
Featured
 
0
 

You are going to have to play with the crt unit. It has procedures and functions that will let you do things to the screen (clear it, move the cursor to a specific location, change colors, etc.)

Good luck.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article