Custom Query (3927 matches)
Results (34 - 36 of 3927)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3960 | Completed | Integer division | ||
| Description |
Hello! As well-known, division operation always returns double even if both operands are integer, e.g. Local $v = 10/2 ConsoleWrite(VarGetType($v)) ; we've got double instead of integer Imho there may be useful to have special math operator for integer division, for example $i % $j or smth like that. Or else, special function like Div($i, $j) in addition to existing Mod($i, $j) In such case we would be sure to obtain integer result, e.g. 10/3=3 instead of 3.33333… Thank you for attention! PS Sorry for my weak English ( |
|||
| #3966 | Rejected | Macro @WinLevel | ||
| Description |
Hi! In addition to @OSVersion, let's call it for example @WinLevel What's the difference. @OSVersion returns _string_ value like 'WIN_XP', 'WIN_10' and so on. In some cases this is rather not convenient. I'd like to suggest a macro returning _integer_ result to simplify native numeric comparison of OS versions. For example: @WIN_XP -> @WinLevel = 0x0501 @WIN_2003 -> @WinLevel = 0x0502 @WIN_Vista -> @WinLevel = 0x0600 @WIN_7 -> @WinLevel = 0x0601 @WIN_8 -> @WinLevel = 0x0602 @WIN_81 -> @WinLevel = 0x0603 @WIN_10 -> @WinLevel = 0x0A00 … and so on; in addition the codes above correlate with results returned by WinAPI The similar codes may be used for server editions especially if there's no difference either it's server or it's ordinary PC Thank you for attention! PS1 May be better @OSLevel instead of @WinLevel?… PS2 As usual sorry for my weak English |
|||
| #3605 | Fixed | the function _GUICtrlListView_SetBkImage() does not accept control ID | ||
| Description |
The help for the function _GUICtrlListView_SetBkImage() in the description of the first parameter is as follows: "$hWnd - Control ID/Handle to the control", but in fact the function will not work with Control ID since the following line is present inside it: Func _GUICtrlListView_SetBkImage($hWnd, $sURL = "", $iStyle = 0, $iXOffset = 0, $iYOffset = 0) ; ... If Not IsHWnd($hWnd) Then Return SetError($LV_ERR, $LV_ERR, False) ; ... |
|||
