Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-10

Clear interactive questions with default values management ?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tom__G

Hi,

Following another post on menu building I'd like to know if someone could help me to build such kind of interactive Linux console questions :

Question 1 [Default_Value_1] ? Default_Value_1 <- default value appears here if/when I press ENTER (without providing another custom value) Question 2 [Default_Value_2] ? My_Custom_Value <- I enter a value then I press ENTER
Question 3 [Default_Value_3] ?
etc...

Of course any value (default or custom) are grabbed into variables. This appears quite simple but I tried lot of things and there is always something which fails (formatting, default value writting etc...)

Hope this is clear.
Thanks,
Tom

View this message in context: http://www.nabble.com/Clear-interactive-questions-with-default-values-management---tp25765581p25765581.html Sent from the Free Pascal - General mailing list .

Reply by email