[fpc-pascal] FPC 3.0.4 DOS GO32V2

Marco van de Voort marcov at stack.nl
Sun Dec 3 22:28:45 CET 2017


In our previous episode, Nikolay Nikolov said:
> >
> > function get_segment_base_address(d : word) : longint;
> > function set_segment_base_address(d : word;s : dword) : boolean;
> >
> > For get_segment_base_address is correct longint or dword?
> I think (and I'm the one, who made the change) dword is more correct, 
> because segment bases can be >=2GB and longint is signed, so results in 

(I think he also meant having a signed getter and unsigned setter)



More information about the fpc-pascal mailing list