A Delphi set is basically a sequence of bits. Each bit represents a value. In the case of TTestSet, you would only need 3 bits (although a byte or word would probably be used). You should be able to typecast the set and save that type to the registry or INI file.
Hope that helps >Is there a way to save a set of enumerated values to the >registry, basically saving/loading directly from/to the >'set' variable? Example: > >TTest = (tOne,tTwo,tThree); >TTestSet = set of TTest; > >Is it possible to save/load a variable of type TTestSet >to a single registry value? _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

