Logo
Explore Help
Sign In
hyung-hwan/qse
1
0
Fork 0
You've already forked qse
Code Issues Pull Requests Packages Projects Releases Wiki Activity
qse/regress/awk/lang-005.awk

22 lines
212 B
Awk
Raw Normal View History

restructured regression test scripts for awk
2009-06-30 04:17:39 +00:00
#
# a local variable can shade a function name and other local variables.
#
improved the naming rule
2009-06-29 07:41:47 +00:00
function a (x) { print x; }
fixed bugs of not handling <NL> properly in local/global variable declarations.
2009-06-27 20:50:54 +00:00
BEGIN {
restructured regression test scripts for awk
2009-06-30 04:17:39 +00:00
improved the naming rule
2009-06-29 07:41:47 +00:00
{
changed the way to handle @words. switched global, local, reset, abort to @global, @local, @reset, @abort to avoid collision with existing awk programs
2012-11-20 14:44:43 +00:00
@local a;
restructured regression test scripts for awk
2009-06-30 04:17:39 +00:00
a = 50;
{
changed the way to handle @words. switched global, local, reset, abort to @global, @local, @reset, @abort to avoid collision with existing awk programs
2012-11-20 14:44:43 +00:00
@local a;
restructured regression test scripts for awk
2009-06-30 04:17:39 +00:00
a = 30;
print a;
}
improved the naming rule
2009-06-29 07:41:47 +00:00
print a;
}
restructured regression test scripts for awk
2009-06-30 04:17:39 +00:00
a (100);
fixed bugs of not handling <NL> properly in local/global variable declarations.
2009-06-27 20:50:54 +00:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 388ms Template: 27ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API