Modula-2 Reloaded

A Modern Typesafe & Literate Programming Notation

Site Menu

Project

Specification

Implementation

Recommendations

Reference

Needs Updating

Work in Progress

Wastebasket

Wiki Manual

edit SideBar

SHORTBITSET

DEFINITION MODULE SHORTBITSET;

(* Alias type for 16-bit bitset type *) 

<* IF TSIZE(BITSET)*8 = 16 *>

TYPE SHORTBITSET = ALIAS OF BITSET;

<* ELSE *>

IMPORT BS16;

TYPE SHORTBITSET = ALIAS OF BS16;

<* ENDIF *>

END SHORTBITSET.