stt@ada-uts (04/19/89)
Generally, you must provide a default for the discriminant for records used for direct or sequential I/O. This allows the body of the generic to declare an object large enough to hold any instance, to act as a buffer, etc. Hence make your record: type rec(field : fieldtype := fieldtype'first) is record ... This approach works with most Ada compilers. Tucker Taft Intermetrics, Inc. Cambridge, MA 02138