Jump to content

Search the Community

Showing results for tags 'undeclared global variable'.

  • 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. Im using assign to call some variables and at runtime I am getting errors: WARNING: $Reserve_1: possibly used before declaration. ERROR: $Reserve_1: undeclared global variable. The code below is how I assign the vars, and I used a 'IsDeclared' to verify that it was successful. Im trying to clean/convert old code and I would like to get rid of these 60 errors and 60 warnings thanks. For $i = 1 to 60 if not Assign ( "Reserve_"&$i, "",2) then MsgBox(0,"Error Assigning :","Reserve_"&$i) else ;MsgBox(0,"Assigning :","Reserve_"&$i) EndIf Next msgbox(0,'IsDeclared ( Reserve_58 )',IsDeclared ( 'Reserve_58' ))
×
×
  • Create New...