<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello all,<br>
<br>
As the subject implies, code that has previously ran:<br>
<br>
-----------<br>
<br>
Type TSomeEnumSet = Set OF (seOne, seTwo, seThree, seFour);<br>
<br>
Var SomeSet : TSomeEnumSet;<br>
<br>
Begin<br>
Writeln(Integer(SomeSet) );<br>
End.<br>
<br>
-----------<br>
<br>
Results in: Error: Illegal type conversion: "TSomeEnumSet" to
"LongInt"<br>
<br>
-----------<br>
<br>
This should be possible (in the documentation for a set "
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none;">The compiler stores small sets (less
than 32 elements) in a Longint</span>"), what has changed? (using
latest SVN as of 5-10 minutes ago :p)<br>
<br>
<br>
- Dennis<br>
</body>
</html>