renamed ase to qse
This commit is contained in:
28
qse/cmd/awk/simple-001.out
Normal file
28
qse/cmd/awk/simple-001.out
Normal file
@ -0,0 +1,28 @@
|
||||
function error ()
|
||||
{
|
||||
exit 200;
|
||||
}
|
||||
|
||||
function getx ()
|
||||
{
|
||||
if ((x == 2))
|
||||
error ();
|
||||
return (x)++;
|
||||
}
|
||||
|
||||
function gety ()
|
||||
{
|
||||
return (y)++;
|
||||
}
|
||||
|
||||
BEGIN {
|
||||
x = 0;
|
||||
y = 0;
|
||||
print (getx () + gety ());
|
||||
print (getx () + gety ());
|
||||
print (getx () + gety ());
|
||||
print (getx () + gety ());
|
||||
}
|
||||
|
||||
0
|
||||
2
|
Reference in New Issue
Block a user