bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] Is there a way to automatically let gawk fail when an initial


From: Peng Yu
Subject: [bug-gawk] Is there a way to automatically let gawk fail when an initialized variable is used?
Date: Wed, 28 Nov 2018 17:18:26 -0600

Hi,

In certain cases, it may be useful to let gawk fail when an
initialized variable is used. Of course, one can use if to test, but
it can be cumbersome. Is there a way to do so automatically in gawk?
Thanks.

awk 'BEGIN { print typeof(x) }'

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]