$title 'tests for $if declared and defined' (IFSTAT7,SEQ=331) $onText This test for a stupid mistake by AM to require the symbol to exist before we test for defined Contributor: Alex Meeraus $offText scalar yyy, zzz / 123 /, www; www=1; $onDollar $if declared xxx $abort symbol is not declared $if NOT declared yyy $abort symbol is declared $if NOT declared zzz $abort symbol is declared $if NOT declared www $abort symbol is declared $if defined xxx $abort symbol not defined $if defined yyy $abort symbol not defined $if NOT defined zzz $abort symbol is defined $if NOT defined www $abort symbol is defined