Custom Query (3922 matches)
Results (136 - 138 of 3922)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3897 | Duplicate | incorrect arithmatic with Hex notation | ||
| Description |
When you try to subtract using hex notation, the values end up being added. The problem occurs in 3.3.16.0, x32 & x64. Tested in win10 & win7. v3.3.14.5 seems to work as expected. ConsoleWrite(0x04 - 0x02 & @CRLF) ;returns 6 ConsoleWrite(4 - 0x02 & @CRLF) ;returns 6 ;these seem to be ok. ConsoleWrite(0x04 - 2 & @CRLF) ;returns 2 ConsoleWrite(0x04 - Int(0x02) & @CRLF) ;returns 2 ConsoleWrite(0x04 + 0x02 & @CRLF) ;returns 6 ConsoleWrite(0x04 / 0x02 & @CRLF) ;returns 2 ConsoleWrite(0x04 * 0x02 & @CRLF) ;returns 8 |
|||
| #2809 | No Bug | inconsistent work of the For...To...Step...Next loop | ||
| Description |
In the following example the loop doesn't work as is expected. First loop (For $i=0 To 1 Step 0.1) runs eleven times, as it should, but the second one (For $i=1 To 2 Step 0.1) runs only ten times. Doesn't seem quite right, does it. Such error also occurs when using some other non-integer values for the Step, and also when difference between X and Y in {For $i=X To Y Step <non-integer>} is bigger than 1(one). $c=0
ConsoleWrite('from 0 to 1 step 0.1'&@cr)
for $i=0 to 1 step 0.1
ConsoleWrite($i& ', ')
$c+=1
next
ConsoleWrite(@cr&'counter = '&$c&@cr&@cr)
$c=0
ConsoleWrite('from 1 to 2 step 0.1'&@cr)
for $i=1 to 2 step 0.1
ConsoleWrite($i& ', ')
$c+=1
next
ConsoleWrite(@cr&'counter = '&$c&@cr&@cr)
|
|||
| #890 | No Bug | inconsistence with objects and execute | ||
| Description |
Hi if i use the execute function to do a method call like this: Execute($object.'&$method&'(somemorestuff)') it works, but when i use the execute like this: Execute($object.'&$method&' = "this is a test"') it doesn't work. example attached. |
|||
