Helge Posted May 18, 2005 Share Posted May 18, 2005 @Sven :Yes, I'm aware of that but recently I've been using Eval in the way shown in my example,and because of that I noticed when it wasn't possible anymore.. So I was just guessing that it was possible to do again, now with .32 ...(If you're wondering why the heck I used Eval that way, it was to easily execute commandssent by a client in the local network, which I found out was a pretty good way of doing it ...)@jpm :I'm pretty satisfied with the way updates are coming almost every day, as it seem tobe very effective, where we can give you feedback (as you said) very quickly...So no problems there.-Helge- Link to comment Share on other sites More sharing options...
jpm Posted May 18, 2005 Author Share Posted May 18, 2005 Helge,The docs for Eval need to be re-written, but it's not sure if it will stay this way.Your example isn't quite right. Eval is for 'expression evaluation', like Eval ("$a + 1") or Eval ("$a = 1"). The old-style Eval also still works Eval("a").Your example could probably work, but it does not really contain an expression.Regards,-Sven<{POST_SNAPBACK}>I did a fix allowing silent error evaluation so the doc can stay or at least be rewritten in good english Link to comment Share on other sites More sharing options...
jpm Posted May 18, 2005 Author Share Posted May 18, 2005 18th May 2005 - v3.1.1.33 (beta)Added : Suppression of message box on Eval with expression errors (Thanks DaleHolm,...) Link to comment Share on other sites More sharing options...
Josbe Posted May 18, 2005 Share Posted May 18, 2005 18th May 2005 - v3.1.1.33 (beta)Added : Suppression of message box on Eval with expression errors (Thanks DaleHolm,...)<{POST_SNAPBACK}>Possible bug. Eval() and the operators with assignment. Check this:$n = 0 $n += 1 MsgBox(0, $n, 'Eval1: Should be 1') $n = 0 MsgBox(0, Eval("$n + 1"), 'Eval2: Should be 1') $n = 0 MsgBox(0, Eval("$n += 1"), 'Eval3: Should be 1 to?') AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
jpm Posted May 18, 2005 Author Share Posted May 18, 2005 Possible bug. Eval() and the operators with assignment. Check this:$n = 0 $n += 1 MsgBox(0, $n, 'Eval1: Should be 1') $n = 0 MsgBox(0, Eval("$n + 1"), 'Eval2: Should be 1') $n = 0 MsgBox(0, Eval("$n += 1"), 'Eval3: Should be 1 to?')<{POST_SNAPBACK}>not a bug $n+=1 is not an expression but a statement Link to comment Share on other sites More sharing options...
jpm Posted May 18, 2005 Author Share Posted May 18, 2005 19th May 2005 - v3.1.1.34 (beta)Changed : Eval ("expression") implying hazardeous functions will be rejected. (Thanks SvenP, Jon, Valik, Nutster) Fixed : When an Object variable was placed in a return statement in a UDF, it would not be released on function exit (thanks w0uter). Added : Array initialization (By Nutster). Link to comment Share on other sites More sharing options...
foggw Posted May 19, 2005 Share Posted May 19, 2005 19th May 2005 - v3.1.1.34 (beta)Changed : Eval ("expression") implying hazardeous functions will be rejected. (Thanks SvenP, Jon, Valik, Nutster) Fixed : When an Object variable was placed in a return statement in a UDF, it would not be released on function exit (thanks w0uter). Added : Array initialization (By Nutster).<{POST_SNAPBACK}>It appears that DllStructGetSize got dropped between v3.1.1.33 and v3.1.1.34.DllStructGetSize works with v3.1.1.33The Example in the help file no longer works.$str = "int;ubyte;uint;char[128]" $a = DllStructCreate($str) $x = DllStructGetSize($a)>Running: (3.1.1.34):C:\Program Files\AutoIt3\beta\autoit3.exe "D:\Scripts\DllStruct_Test.au3" D:\Scripts\DllStruct_Test.au3 (12) : ==> Unknown function name.: $x = DllStructGetSize($a) $x = ^ ERRORThanks for all your effort!Bill Link to comment Share on other sites More sharing options...
GaryFrost Posted May 19, 2005 Share Posted May 19, 2005 (edited) I confirm works, in 3.1.1.33 not in 3.1.1.34created bug report DllStructGetSize Edited May 19, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
buzz44 Posted May 19, 2005 Share Posted May 19, 2005 gafrost when are you going to implement the fixed _GUICtrlListViewGetCurSel()? I was broken when I saw it wasn't in .33 or .34 lol . qq Link to comment Share on other sites More sharing options...
GaryFrost Posted May 19, 2005 Share Posted May 19, 2005 I sent to jdeb, resent last night SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
jpm Posted May 19, 2005 Author Share Posted May 19, 2005 It appears that DllStructGetSize got dropped between v3.1.1.33 and v3.1.1.34.DllStructGetSize works with v3.1.1.33The Example in the help file no longer works.$str = "int;ubyte;uint;char[128]" $a = DllStructCreate($str) $x = DllStructGetSize($a)>Running: (3.1.1.34):C:\Program Files\AutoIt3\beta\autoit3.exe "D:\Scripts\DllStruct_Test.au3" D:\Scripts\DllStruct_Test.au3 (12) : ==> Unknown function name.: $x = DllStructGetSize($a) $x = ^ ERRORThanks for all your effort!Bill<{POST_SNAPBACK}>True a bad deletion will be in 3.1.1.25Sorry for the trouble Link to comment Share on other sites More sharing options...
GaryFrost Posted May 19, 2005 Share Posted May 19, 2005 True a bad deletion will be in 3.1.1.25Sorry for the trouble <{POST_SNAPBACK}>Hope you mean 3.1.1.35 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
jpm Posted May 19, 2005 Author Share Posted May 19, 2005 Hope you mean 3.1.1.35 <{POST_SNAPBACK}>You know I am a 2 fingers typer ...You definetly right Link to comment Share on other sites More sharing options...
Developers Jos Posted May 19, 2005 Developers Share Posted May 19, 2005 gafrost when are you going to implement the fixed _GUICtrlListViewGetCurSel()? I was broken when I saw it wasn't in .33 or .34 lol .<{POST_SNAPBACK}>I sent to jdeb, resent last night<{POST_SNAPBACK}>Will try to process this evening, but don't expect me to keep up with JPM's speed of rolling out the updates... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
GaryFrost Posted May 19, 2005 Share Posted May 19, 2005 Will try to process this evening, but don't expect me to keep up with JPM's speed of rolling out the updates... <{POST_SNAPBACK}>Wouldn't expect you to keep up with jp, having trouble keeping my work computer and home pc up to speed with jp. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
jpm Posted May 19, 2005 Author Share Posted May 19, 2005 Wouldn't expect you to keep up with jp, having trouble keeping my work computer and home pc up to speed with jp.<{POST_SNAPBACK}>My speed as slow down because I get trouble with the Eval control which broke the dllcallSo you have time to workI need help on the .35I know you don't have access to the code this help can come only from code dev's guys Link to comment Share on other sites More sharing options...
jpm Posted May 19, 2005 Author Share Posted May 19, 2005 19th May 2005 - v3.1.1.36 (beta)Fixed : DllStructGetSize badly reinserted.Fixed : StringRegExp doc (By Nutster)Updated : UDFs 1.13 (By JdeB/gafrost)- Added _GUICtrlListViewSetCheckState (gafrost)- Fixed _GUICtrlListViewGetCurSel: If more than 1 item in listview had same data was returning the index of the 1st instance, now correctly returns the index of item selected. (gafrost)- Added _GUICtrlMonthCal???? function located in GuiMonthCal.au3 (gafrost)19th May 2005 - v3.1.1.35 (beta) not uploadedFixed : DllStructGetSize badly remove. (Thanks foggy) Fixed : Some doc Typo. (Thanks KXM) Link to comment Share on other sites More sharing options...
jpm Posted May 21, 2005 Author Share Posted May 21, 2005 21th May 2005 - v3.1.1.37 (beta)Fixed : Creating an Object on a remote computer failed under alternate credentials. Fixed. The username/password arguments are now available to ObjCreate(). (By SvenP) Fixed : GUIListView.au3 defining _GUICtrlListViewColumnOrderArray (By JdeB/gafrost) Link to comment Share on other sites More sharing options...
jpm Posted May 22, 2005 Author Share Posted May 22, 2005 22th May 2005 - v3.1.1.38 (beta)Updated : UDFs 1.14 (By JdeB/gafrost)- Fixed _GUICtrlListGetSelItems: returned array, was an array of string numbers now an array of numbers. (gafrost)- Fixed _GUICtrlListViewGetSelectedIndices returned array, was an array of string numbers now an array of numbers. (gafrost)- Updated _GUICtrlListSetHorizontalExtent documentation. (gafrost) Fixed : Some flickering in GUICtrlSetImage. (Thanks Smed) Link to comment Share on other sites More sharing options...
carpediem Posted May 23, 2005 Share Posted May 23, 2005 UDPOpen ( IPAddr, port )Just gives me errors. I'm a total newbie though, so I might be doing things wrong. I just get an "Error in expression", when trying to do aUDPOpen ( 127.0.0.1, 5678 )Am I'm the one at fault here, or is there something wrong with the UDP functions? Link to comment Share on other sites More sharing options...
Recommended Posts