##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: September 2016 # Modified: 2016-10-03/23:14-0400 ##+ # # preproc-line, demonstrate $line override preprocessor directive # # This feature is mainly for use with machine generated sources # procedure main() $ifdef _MSDOS write("MSDOS available, GetSpace and FreeSpace") A := GetSpace(64) | stop("GetSpace failed") FreeSpace(A) $else # error will be reported as coming from line 2 of sample.icn $line 1 "sample.icn" $error MSDOS features required for this program $endif end