Opened 16 years ago
Closed 16 years ago
#890 closed Bug (No Bug)
inconsistence with objects and execute
Reported by: | JRSmile | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.0.0 | Severity: | None |
Keywords: | Cc: |
Description
Hi if i use the execute function to do a method call like this:
Execute($object.'&$method&'(somemorestuff)')
it works, but when i use the execute like this:
Execute($object.'&$method&' = "this is a test"')
it doesn't work.
example attached.
Attachments (1)
Change History (6)
Changed 16 years ago by JRSmile
comment:1 Changed 16 years ago by JRSmile
here the link to the thread: http://www.autoitscript.com/forum/index.php?showtopic=92674&st=0#entry666028
comment:2 Changed 16 years ago by Valik
comment:3 Changed 16 years ago by anonymous
Environment = 3.3.0.0 under WIN_XP/Service Pack 3 X86
comment:4 Changed 16 years ago by JRSmile
back again, just recogniced that it is impossible to set object attributes with execute because it is a read only function, i would suggest adding this as feature request for further autoit versions.
what do you think?
comment:5 Changed 16 years ago by Valik
- Resolution set to No Bug
- Status changed from new to closed
You missed the point which was the script is not reproduceable. You are using an object not commonly available.
what do you think?
I think Execute() should be removed from the language.
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.
example of execute and objects