Jump to content

Search the Community

Showing results for tags 'pseudo-object code failure'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Greetings: I am messing around with the new map behavior in the beta. Specifically I am running the code found in post #5 here -> '?do=embed' frameborder='0' data-embedContent>> Although that code works, "Syntax Check Beta" fails the code at the point where I simulate an object. So I guess my question is this: Is my syntax "illegal but it happens to work"? Or is it legal but the syntax check program simply hasn't been updated yet? Or finally should I be doing this a different way? Code here again so you don't have to follow a link: #include <MsgBoxConstants.au3> Local $aObjs[2] = [NewFoo(), NewBar()] For $i = 0 To UBound($aObjs) - 1 Local $sMsg = ($aObjs[$i].Output)() ; <-- This line of code is flagged as a syntax error MsgBox($MB_SYSTEMMODAL, "Test", $sMsg) Next Func NewFoo() Local $mPseudoObj[] $mPseudoObj["Output"] = FooOutput Return $mPseudoObj EndFunc Func FooOutput() Return "Foo" EndFunc Func NewBar() Local $mPseudoObj[] $mPseudoObj["Output"] = BarOutput Return $mPseudoObj EndFunc Func BarOutput() Return "Bar" EndFunc [EDIT] Corrected minor stupidity on my part in the code...
×
×
  • Create New...