[fpc-pascal] Clear interactive questions with default values management ?

Tom__G tom at guilleminot.org
Tue Oct 6 11:38:16 CEST 2009


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 archive at Nabble.com.




More information about the fpc-pascal mailing list