Modify

Opened 10 years ago

Closed 10 years ago

#2780 closed Bug (Fixed)

Object Check Error

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

Description

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 (3.3.12.0) from:C:\Program Files\autoit3 input:C:\smtp.au3

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

$objEmail.To

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

in version 3.3.8.1 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
Thanks

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:

http://www.autoitscript.com/trac/autoit/ticket/2768
http://www.autoitscript.com/trac/autoit/ticket/2731

for the future, check carefully before you report

http://www.autoitscript.com/trac/autoit/wiki

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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.