Jump to content

Search the Community

Showing results for tags 'enum'.

  • 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 2 results

  1. Am I doing something wrong, or does Au3Stripper not process Global Enum's? Original #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/pe #AutoIt3Wrapper_Au3stripper_OnError=S Global Enum $GlobalEnumVar Global Const $GlobalConstVar = 0 Main() Func Main() ConsoleWrite( "AutoItVersion: " & @AutoItVersion & @CRLF ) ConsoleWrite( "$GlobalEnumVar: " & $GlobalEnumVar & @CRLF ) ConsoleWrite( "$GlobalConstVar: " & $GlobalConstVar & @CRLF ) EndFunc Build >Running Au3Stripper (21.316.1639.0) from:C:\Progs\Apps\AutoIt\SciTE\Au3Stripper cmdline: - 0.03 Iteration 1 Strip Functions result: Output 8 lines, stripped 0 Func lines and 8 Commentlines - 0.03 Iteration 2 Strip Variables result: Output 8 lines and stripped 0 lines - 0.03 Iteration 3 Strip Variables result: Output 7 lines and stripped 1 lines - 0.03 Iteration 4 Strip Variables result: Output 7 lines and stripped 0 lines +> Source 16 lines 360 Characters. +> Stripped 1 Func/Var lines and 8 comment lines, Total 132 Characters. +> Saved 56% lines 36% Characters. +> Au3Stripper v21.316.1639.0 finished created:C:\HotRod\AU3\TEST\Au3Stripper\Au3Stripper_stripped.au3 +>04:23:07 Au3Stripper ended.rc:0 Stripped Global Enum $GlobalEnumVar Main() Func Main() ConsoleWrite( "AutoItVersion: " & @AutoItVersion & @CRLF ) ConsoleWrite( "$GlobalEnumVar: " & $GlobalEnumVar & @CRLF ) ConsoleWrite( "$GlobalConstVar: " & 0 & @CRLF ) EndFunc It replaced $GlobalConstVar with it's value. But it left $GlobalEnumVar.
  2. Hi Forum, In this doc letter "e" reference a enumerator to variables. In second example of the function ENUM your use is very clear... But, I have two or more listviews and I think apropriate use a enumerator, is clear too... How is the best practice to call this variables? Explain: If have ONE ListView (or table) is easy to understand: Global Enum $eID, $eNAME, $eADDRESS Global $aPerson[3][3] ConsoleWrite($aPerson[1][$eID] & @LF) ConsoleWrite($aPerson[1][$eNAME] & @LF) ConsoleWrite($aPerson[1][$eADDRESS] & @LF) But, if have more than one ListView (or table or anything...), that is my doubt, how is the best practice to name/call this? Global Enum $e0_ID, $e0_NAME, $e0_ADDRESS Global Enum $e1_ID, $e1_CAR, $e1_CAR_COLOR Global $aPerson[3][3] Global $aCar[3][3] ConsoleWrite($aPerson[1][$e0_ID] & @LF) ConsoleWrite($aPerson[1][$e0_NAME] & @LF) ConsoleWrite($aPerson[1][$e0_ADDRESS] & @LF) ConsoleWrite($aCar[1][$e1_ID] & @LF) ConsoleWrite($aCar[1][$e1_CAR] & @LF) ConsoleWrite($aCar[1][$e1_CAR_COLOR] & @LF) Thanks, Detefon
×
×
  • Create New...