Converts a set to a string.
Valid only for "register sets" - sets with fewer than Sizeof(Integer) * 8 elements. You will have to typecast the integer value to/from your set type.
Namespace: HelperFunctions
Delphi |
function SetToString( TypeInfo: PTypeInfo; const SetValue: Integer; |
Parameters
TypeInfo
Type: PTypeInfo
SetValue
Type: Integer
Separator
Type: String
String to put between each element in the set
Brackets
Type: Boolean
Put brackets ([]) around the output string
PrefixLength
Type: Integer
Type: String