[fpc-devel] [Suggestion] Enumeration range-check intrinsic

J. Gareth Moreton gareth at moreton-family.com
Sat Jul 6 01:21:26 CEST 2019


According to this 
<https://www.freepascal.org/docs-html/rtl/system/ord.html>, a Longint.

Gareth aka. Kit

On 06/07/2019 00:04, Martok wrote:
> I think there is a shorter version, but what is the exact return type of Ord()
> again?
>
> By the way, what you're reinventing here is type marshalling, for one single
> type class, and in a very roundabout way.
> If that is really what the discussion settled on, it would probably make sense
> to not tack this onto a particular stream implementation but instead provide a
> general marshaller for it.
>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190706/0e427b81/attachment.html>


More information about the fpc-devel mailing list