Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (169 - 171 of 3856)

Ticket Resolution Summary Owner Reporter
#2731 Fixed AU3Check error on objects that contain properties with name (.To) Jpm cory.r.stein@…
Description

We have a function that uses the object CDO.Message. The below simplified snippet of code fails to compile. Looks like this might have been addressed in an earlier version, but have recently resurfaced. Not sure if (http://www.autoitscript.com/trac/autoit/ticket/2113) is similar, but we are holding off on using the latest due to this issue.

Local $objEmail = ObjCreate("CDO.Message") $objEmail.From = '"Test" <Test>' $objEmail.To = 'Test'

AU3Check fails to pass on the .To property, which I assume is because its a reserved keyword in the AI engine or something

#2141 Fixed AU3Check keyword #IgnoreFunc causing error Valik Beege
Description

The following script causes an error:

#include <GuiListView.au3>
#include <SQLite.au3>

Output:

C:\Program Files (x86)\AutoIt3\Include\SQLite.au3(2,13) : ERROR: missing separator character after keyword.
#IgnoreFunc __SQLite_Inline_Version
~~~~~~~~~~~~^
#2113 Fixed AU3Check misinterprets some object's property names as AI keywords trancexx jchd
Description

AU3Check raises an error on object's property names which are also (some but not all) AutoIt keywords like: For, In, Step, While, ElseIf, etc. Some keywords don't raise the error: Next, EndIf, Wend, etc.

To use problematic keywords as property name, append parenthesis after the name, just as if it was a method e.g. $self.Step(). This works AFAIK.

#include "autoitobject.au3"

_AutoItObject_Startup()

Local $oTest = _test()
ConsoleWrite($oTest.Step & @LF)

Func _test()
    Local $class = _AutoItObject_Create()
    _AutoItObject_AddProperty($class, "Step", $ELSCOPE_PUBLIC, "Sample 'Step' property value")
    Return $class
EndFunc

Discussed here: http://www.autoitscript.com/forum/topic/136895-parsing-propertiesmethods-named-as-some-autoit-keywords/page__view__findpost__p__957390

Note: See TracQuery for help on using queries.