Short Integer Constants in LCC-WIN32?
- From: "John Willett" <no@xxxxxxxxx>
- Date: Wed, 26 Sep 2007 11:40:27 -0400
Is there a way to explicitly specify a short-integer constant in LCC-WIN32?
I'm revising old 16-bit code written for Windows 3.1, and I'm encountering a
lot of expressions like "filerec.timelow & 0x7C00u". "Filerec.timelow" was
originally declared as "int" but must now be changed to "short" because the
structure is read from a pre-existing binary file. Obviously, it would be
nice if the constant, "0x7C00u", were also a "short" (although it appears to
run correctly as is), but I don't see any suffix (like "us", for example) in
the documentation.
.
- Follow-Ups:
- Re: Short Integer Constants in LCC-WIN32?
- From: jacob navia
- Re: Short Integer Constants in LCC-WIN32?
- Prev by Date: Program Error on Compiler Tab
- Next by Date: Re: Short Integer Constants in LCC-WIN32?
- Previous by thread: Program Error on Compiler Tab
- Next by thread: Re: Short Integer Constants in LCC-WIN32?
- Index(es):
Relevant Pages
|
|