Administrators Jon Posted September 11, 2013 Administrators Posted September 11, 2013 File Name: AutoIt v3.3.9.21 BetaFile Submitter: JonFile Submitted: 11 Sep 2013File Category: Beta3.3.9.21 (11th September, 2013) (Beta) AutoIt: - Added #2443: Monospaced in Fonts appendix. - Changed: Documentation for StringRegExp() re-written by jchd. - Changed: Default newline character for PCRE regexes changed to ANYCRLF. - Fixed #2066: DllStructSetData() returning int64 instead of int32 in some cases. - Fixed #2427: ControlTreeView() does not used Option2. - Fixed #2455: Mouse Cursor not changing on resizable GUIs. - Fixed #2105: RegRead() and DWORD types incorrectly stored as double. - Fixed #2299: GUI Button Text Left-Justify for colored button. - Fixed #1954: ListViewItem returns 0 (failure) even though it populates the ListView. - Fixed #2152: X^2 Not Working in Hex(). - Fixed #1870: @GUI_DRAGFILE.Click here to download this file codewar509, jaberwacky and Mat 3 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
UEZ Posted September 11, 2013 Posted September 11, 2013 You forgot: -Added some more GDI+ functions and examples. Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
FireFox Posted September 11, 2013 Posted September 11, 2013 (edited) You forgotNo, my fault Edited September 11, 2013 by FireFox
trancexx Posted September 11, 2013 Posted September 11, 2013 I see there have been some workings on X^2 problematic. Can someone give short explanation on why is this treated as integer: $nNum = 2.0 ^ 1 ... and this as double: $nNum = 2.0 Thanks in advance. ♡♡♡ . eMyvnE
Mat Posted September 11, 2013 Posted September 11, 2013 TranceXX, more importantly that introduces a regression on certain values for the exponent. I suspect the code looks something like if (exp % 1 == 0) { /* Cast return value to int */ } That gives the wrong result when the exponent is negative, for example 2^-1 should give 0.5 but is being truncated to zero. AutoIt Project Listing
trancexx Posted September 11, 2013 Posted September 11, 2013 Maybe someone should open bug report named "X/2 not working in Hex". The problem is not Hex(), the problem is not even on the level that Jon tried to fix it. It's below that. Fixing it above that can only produce new bugs. Bug report that was referenced was, and is, senseless in its essence. ♡♡♡ . eMyvnE
rdr Posted September 11, 2013 Posted September 11, 2013 Hello, Is there any plan on when this version will become official? Thank you!
Moderators Melba23 Posted September 11, 2013 Moderators Posted September 11, 2013 rdr,As always, there will be a release when Jon thinks it is ready. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Mat Posted September 11, 2013 Posted September 11, 2013 (edited) I'm not sure why Hex() was ever changed from using only integers to be honest. The few people who know what the output means could easily do it in about 4 lines anyway. Jon, The only time the output should be converted to an integer is if: Both operands are integral and the exponent is positive. That's basically what TranceXX is saying here. Edited September 11, 2013 by Mat AutoIt Project Listing
Administrators Jon Posted September 11, 2013 Author Administrators Posted September 11, 2013 Hex wasn't touched. The code changed was at the low level and is something JP said he'd verified. The code "looks" right in that it does indeed check for integers but it turns out some code that determines the integer status is also flawed. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
trancexx Posted September 11, 2013 Posted September 11, 2013 I'm not sure why Hex() was ever changed from using only integers to be honest. The few people who know what the output means could easily do it in about 4 lines anyway.That can be said for half of the built-in functions - 2, 3, 4, 5, 10 lines of script code from people who know. Your argument isn't right.Hex was "changed" because it didn't do what it was said it should do. Hex(2.1) is not 0002.Do you understand now?...What I should have done back then was add new function Hex2() and remove documentation for Hex(). And fight another war. ♡♡♡ . eMyvnE
Mat Posted September 11, 2013 Posted September 11, 2013 That can be said for half of the built-in functions - 2, 3, 4, 5, 10 lines of script code from people who know. Your argument isn't right. Hex was "changed" because it didn't do what it was said it should do. Hex(2.1) is not 0002. Do you understand now? ...What I should have done back then was add new function Hex2() and remove documentation for Hex(). And fight another war. Yes, but the difference is the people that don't know. The built in functions make the language simple. Why couldn't Hex() say in the docs that it only takes integers as input? Quick docs change and everyone is happy. Besides, I think Hex(2.1) should return 2.19999...., that's the correct answer. AutoIt Project Listing
trancexx Posted September 11, 2013 Posted September 11, 2013 Yes, but the difference is the people that don't know. The built in functions make the language simple.Uhm, that's what I said.Why couldn't Hex() say in the docs that it only takes integers as input? Quick docs change and everyone is happy. Besides, I think Hex(2.1) should return 2.19999...., that's the correct answer.Excellent point. Not.Because that was never the case, because it doesn't make sense, because it can take strings, because of your first sentence, because because because. It was a bug, nothing more. ♡♡♡ . eMyvnE
Mat Posted September 11, 2013 Posted September 11, 2013 Hex() can't take strings. It can take integers passed as strings. When last I checked Hex("TEST") doesn't return 0x54455354. Actually wait, that's a bug right? The Hex() function is now overcomplicated. There is functionality which will never be used, and instead just confuses people. All so it could be "right". AutoIt Project Listing
jpm Posted September 11, 2013 Posted September 11, 2013 @trancexx I will look why 2.0 is considered as an integer when used with pow operator. I suspect that it is the same why Autoit display 2 and not 2.0 with ConsoleWrite(2.0 & @CRLF)
trancexx Posted September 11, 2013 Posted September 11, 2013 (edited) @Mat, not integers but numbers.Try binary data. The Hex() function is now overcomplicated. There is functionality which will never be used, and instead just confuses people.That's why I said Hex2(). Edited September 11, 2013 by trancexx ♡♡♡ . eMyvnE
Tlem Posted September 11, 2013 Posted September 11, 2013 - Added #2443: Monospaced in Fonts appendix. Wrong track number. It's #2433. Best Regards.Thierry
jpm Posted September 12, 2013 Posted September 12, 2013 Wrong track number. It's #2433. Thanks, Fixed
Mauris Posted September 12, 2013 Posted September 12, 2013 Goodbye AutoIt, goodbye community, thank Jon, Valik, Gary Frost, Jos and trancexx, version 3.3.8.1 the best.
jaberwacky Posted September 12, 2013 Posted September 12, 2013 (edited) lol This actually made me giggle. Wow. Passive aggressive much? You said goodbye to the community on your first post! Edited September 12, 2013 by jaberwocky6669 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
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