Spiff59 Posted December 14, 2011 Share Posted December 14, 2011 (edited) One would expect $result1 to equal $result2 below: $result1 = ACos(-1) For $x = 1 to 5 ; < 5 = no bug ACos(-1) Next $result2 = ACos(-1) MsgBox(0,"",$result1 & @CRLF & $result2) For me (XP Pro SP3 and 3.3.6.1), it does not. Edit: Always on the 7th call to ACos() that it goes south... #include <Array.au3> Global $result[11] For $x = 1 to 10 $result[$x] = ACos(-1) Next _ArrayDisplay($result) It occurs both from within SciTE and as an executable. Same result for those of you with Vista or W7? (I suppose in case you can't recreate it, I ought to spell out what I'm seeing... I get the numeric value of Pi for the first 6 calls, and then "-1.#IND" forever after). Edited December 14, 2011 by Spiff59 Link to comment Share on other sites More sharing options...
KaFu Posted December 14, 2011 Share Posted December 14, 2011 Even more strange, it only goes wrong for me on the 7th call when running as x86 too, but it runs fine as x64. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21)HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Spiff59 Posted December 14, 2011 Author Share Posted December 14, 2011 I opened a bug tracker... Link to comment Share on other sites More sharing options...
JohnOne Posted December 14, 2011 Share Posted December 14, 2011 Same results as OP in Win 7 32 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now