Wiki improvements

Forum for discussion about the documentation project.
Posts: 10360
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Wiki improvements

Postby fxm » May 18, 2021 8:54


A last point for SCREENCONTROL (comparing commit text and fbc source)

In fbc 64-bit:
dim param as longint = &h80000000
initializes 'param' with +2147483648 but not -2147483648
What to choose as initializer value (rather as in the fbc source I guess)?
(but it is probably without consequences)
Site Admin
Posts: 3507
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada

Re: Wiki improvements

Postby coderJeff » May 18, 2021 23:37

The only places the default value of &H80000000 is checked:
- SET_WINDOW_POS ... don't set X or Y position if parameter value is &H80000000
- SET_PEN_POS ... don't set X or Y position if parameter value is &H80000000
- SET_ALPHA_PRIMITIVES ... no change if parameter value is &H80000000

For all other SET_* functions, the parameter value is used as-is.

For all GET_* operations, parameter values (including &H8000000) have no effect.

Return to “Documentation”

Who is online

Users browsing this forum: No registered users and 2 guests