Modify

Opened 12 years ago

Closed 12 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 by J-Paul Mesnage, 12 years ago

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

comment:2 by anonymous, 12 years ago

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 by mLipok, 12 years ago

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 by Jos, 12 years ago

Resolution: Fixed
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.