[fpc-pascal] Freepascal CLI library

wkitty42 at windstream.net wkitty42 at windstream.net
Sun Jan 14 20:28:15 CET 2018


On 01/14/2018 01:15 PM, Bart wrote:
> On Sun, Jan 14, 2018 at 6:00 PM,  <wkitty42 at 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.*



More information about the fpc-pascal mailing list