The follwing will create a DLL instead of an executable...
MODULE export;
PROCEDURE x*;
BEGIN
END x;
BEGIN
(* init code *)
END export;
The code will emit one external static function ('x'). The init code will be executed as part of system initialization.
The follwing will create a DLL instead of an executable...
The code will emit one external static function ('x'). The init code will be executed as part of system initialization.