Custom Query (3933 matches)
Results (82 - 84 of 3933)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #874 | No Bug | reading special keys (like alt, ctl etc) from an ini | ||
| Description |
not sure if its a bug or feature. my ini file contains; [CARRIER ETA] Name=HEEEERE'S JOHHNYYY!! Address=The Overlook Hotel, Colorado the code calling it is ControlSend("App- [Carriers]", "Address", controlId, $InputCarrierDetails[2][1]) When the code is run, it however takes the two "!!" exclamations as alt and does unexpected operations. I think the code should take he characters in an ini file as they are and not use them as special codes. |
|||
| #2708 | No Bug | re calculate "to" statment in "for ... to" loop | ||
| Description |
Should be the behavior of a for loop is the same as in other major programming languages. Exemple showing that "getMax" is called only once. For $i = 0 To getMax()
ConsoleWrite("$i = " & $i & @LF)
Next
Func getMax()
Local $rand = Random(5, 10, 1)
ConsoleWrite("getMax() : " & $rand & @LF)
Return $rand
EndFunc
The output condition is currently not recalculated each loop while in C, C + +, java, it is. This could avoid some "dimension range excedeed" for example. Exemple showing "dimension range excedeed" : Global $tab = [1, 2, 3, 4, 5]
For $i = 0 To UBound($tab, 1)-1
ConsoleWrite($tab[$i] & @LF)
ReDim $tab[3]
Next
|
|||
| #2116 | No Bug | random() is not random | ||
| Description |
There seems to be a bug if you use random() in multiple simultanously running instances of your compiled scripts. They return identically random numbers. I attached main script and stdout3.au3 which has to be compiled. Main script calls stdout3.exe three times and communicates via stdout/stdin with the 3 workers. Tried several things to fix it, like setting srandom(timerinit()) seed on each worker and doing short sleeps between the start commands in main.au3. Even with big sleeps (800ms) there are returned identical random numbers from worker threads. Console Output looks like this: thread started 1 thread started 2 thread started 3 I am working (4430)! 1 I am working (4430)! 2 I am working (4430)! 3 Problem can be solved by using the threadident variable for random range (see _random() in stdout3 script). Another workaround is to use srandom(@MSEC) inside the stdout3.au3, but it results sometimes in 2 identical random thread results. |
|||
