Custom Query


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

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

The following script causes an error:

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


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

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"


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

Discussed here:

Note: See TracQuery for help on using queries.