DOC: Field-Page's example Type

Forum for discussion about the documentation project.
MrSwiss
Posts: 1814
Joined: Jun 02, 2013 9:27
Location: Switzerland

DOC: Field-Page's example Type

Postby MrSwiss » Apr 15, 2017 15:55

Hi all,

the example Type bitmap_header should be re-coded as follows:
change all UInteger statements to ULong since, the definition states: unsigned INT32.

Code: Select all

Type bitmap_header Field = 1
    As UShort   bfType
    As ULong    bfsize
    As UShort   bfReserved1
    As UShort   bfReserved2
    As ULong    bfOffBits
    As ULong    biSize
    As ULong    biWidth
    As ULong    biHeight
    As UShort   biPlanes
    As UShort   biBitCount
    As ULong    biCompression
    As ULong    biSizeImage
    As ULong    biXPelsPerMeter
    As ULong    biYPelsPerMeter
    As ULong    biClrUsed
    As ULong    biClrImportant
End Type
Main reason being: FBC 64 would expand (UInteger) to 64bit-fields ...
fxm
Posts: 7113
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: DOC: Field-Page's example Type

Postby fxm » Apr 15, 2017 16:59

Yes.
KeyPgField → fxm [In example : modified bitmap's header for compatibility with 64-bit (UInteger => ULong)]
MrSwiss
Posts: 1814
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: DOC: Field-Page's example Type

Postby MrSwiss » Apr 15, 2017 17:21

@fxm, thanks for the quick response.

BTW: just encountered something strange: Time-Stamp (in the History) is off by 5-7 Hours!
(depending on: logged in/out)
OK, 2 Hours between: UTC and CEST (can be explained), but the other 5?
Is Wiki on EST instead of UTC? ... Forum Time, seems to be UTC.
Boromir
Posts: 371
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System

Re: DOC: Field-Page's example Type

Postby Boromir » Apr 15, 2017 18:39

I think the forum time can be set from your profile. In "board preferences"
MrSwiss
Posts: 1814
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: DOC: Field-Page's example Type

Postby MrSwiss » Apr 15, 2017 19:22

The difference (5 Hours) is between: Forum Time *native, (aka: not logged in) and the
Wiki-Time-Stamp, also *native.

*unmodified by user settings (that's what you're referring to)

Return to “Documentation”

Who is online

Users browsing this forum: No registered users and 2 guests