Jump to content

3.1.1++


jpm
 Share

Recommended Posts

@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 commands

sent 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 to

be 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

  • Replies 513
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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?')
Link to comment
Share on other sites

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

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

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.33

The 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 = ^ ERROR

Thanks for all your effort!

Bill

Link to comment
Share on other sites

It appears that DllStructGetSize got dropped between v3.1.1.33 and v3.1.1.34.

DllStructGetSize  works with v3.1.1.33

The 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 = ^ ERROR

Thanks for all your effort!

Bill

<{POST_SNAPBACK}>

True a bad deletion will be in 3.1.1.25

Sorry for the trouble :(

Link to comment
Share on other sites

  • Developers

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

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

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 dllcall

So you have time to work

I need help on the .35

I 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

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 uploaded

Fixed : DllStructGetSize badly remove. (Thanks foggy)

Fixed : Some doc Typo. (Thanks KXM)

Link to comment
Share on other sites

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

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

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 a

UDPOpen ( 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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...