Codebase list libmawk / debian/1.0.1-1 scconfig / src / tmpasm / regression / Tutor11_missing.gasm
debian/1.0.1-1

Tree @debian/1.0.1-1 (Download .tar.gz)

Tutor11_missing.gasm @debian/1.0.1-1raw · 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