[fpc-pascal] Getting Last User Input reliably

Sven Barth pascaldragon at googlemail.com
Mon Dec 6 07:57:13 CET 2021


James Richters via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
So., 5. Dez. 2021, 19:06:

> Is there some way I can do {$Q-} before my check then restore it to
> whatever it was before after it? (for example if it was already set to
> {$Q-} in the compiler, I would not want to turn it back on)
> Is there a way to do a temporary override for the one line?
>

{$push}
{$Q-}
// whatever code you need
{$pop}

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20211206/36198286/attachment-0001.htm>


More information about the fpc-pascal mailing list