Opened 10 years ago

Closed 10 years ago

#2780 closed Bug (Fixed)

Object Check Error

Reported by: anonymous Owned by:
Milestone: Component: Au3Check
Version: Severity: None
Keywords: Cc:


By using ObjCreate there is an error when checking script:
Local $objEmail = ObjCreate("CDO.Message")

$objEmail.From = '"' & $s_FromName & '" <' & $s_FromAddress & '>'
$objEmail.To = $s_ToAddress

Running AU3Check ( from:C:\Program Files\autoit3 input:C:\smtp.au3

"C:\smtp.au3"(87,15) : error: missing separator character before keyword.


C:\smtp.au3 - 1 error(s), 0 warning(s)

in version there is no bug.

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by Jpm

Use the AU3Check in Scite beta area to verify that the next AU3Check is OK

comment:2 Changed 10 years ago by anonymous

well. I mean, that, AuCheck stops on dot '.' before To

$objEmail.To = $s_ToAddress

it makes ------| to the dot; and boom:
error: missing separator character before keyword. aka '$', but it is a dot '.' must be there, because of ObjCreate() method requires creating methods of acess, i mean.

comment:3 Changed 10 years ago by mLipok

read this:

for the future, check carefully before you report

Search the issue tracker to see if the ticket has already been discussed.
Search the ​forum to see if the issue has been discussed there.

comment:4 Changed 10 years ago by Jos

  • Resolution set to Fixed
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.