Codebase list libmawk / 0718135d-034f-4c7d-a50d-81acb9b0d835/main scconfig / src / tmpasm / regression / Tutor11_missing.gasm
0718135d-034f-4c7d-a50d-81acb9b0d835/main

Tree @0718135d-034f-4c7d-a50d-81acb9b0d835/main (Download .tar.gz)

Tutor11_missing.gasm @0718135d-034f-4c7d-a50d-81acb9b0d835/mainraw · history · blame

# conditional/safe variable reference: name prefixed by ?
# if the variable does not exist, no error is thrown but empty
# string is returned

if ?a then
	print {empty}
else
	print {not empty}
end

put b ?a