Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!psuvax1!psuvm!brl102 From: BRL102@psuvm.psu.edu (Ben Liblit) Newsgroups: comp.sys.apple Subject: HyperC bitset type Message-ID: <90038.130835BRL102@PSUVM.BITNET> Date: 7 Feb 90 18:08:35 GMT Organization: Penn State University Lines: 23 HyperC has a data type "bitset" which appears to be similar to Pascal's SET type. Does anyone have information on the proper syntax for using this type? What operators are available to manipulate bitsets? What I know so far: Looking through , the declaration syntax appears to be bitset { }; Such as "bitset valid {char}" to declare a character set named valid. Certain sets already exist, in LIBC. Among these are alphaset, numset, alnumset, and hexset. There is a function inset, and an operator "in" that appear to check for inclusion in a set: if (response in valid) ... if (inset (response, valid)) ... Anyone out there know anything else about the bitset type? Ben Liblit BRL102 @ psuvm.bitnet -- BRL102 @ psuvm.psu.edu "Fais que tes reves soient plus longs que la nuit."