On 01/14/2018 01:15 PM, Bart wrote:
On Sun, Jan 14, 2018 at 6:00 PM,  <wkitt...@windstream.net> wrote:

really... i think most folks have a general YesNo routine that returns some
value which they then use to determine which way the code flows...

I used to have a general Prompt(Question: String; Allowed: TCharSet;
Default: Char; CaseSensitive: Boolean): Char; function for that in the
TP era.
(It used crt unit though. And TCharSet = set of Char)


that's another option and it can be altered to work in today's code, too...


--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to