Jump to content

Array.au3 ==> Unable to parse line


Go to solution Solved by PhoenixXL,

Recommended Posts

I have installed the latest versions of AutoIT (3.3.10.2) and SciTE4AutoIT3 (14.1.22.21) and have also replaced the AutoIT3Wrapper.exe (3.3.10.2).

In general there are some definite improvements over what I was using before (thanks to all). However, there is a significant problem that I am finding with reference to Array.au3. Any idea why this should be? How can I get rid of the problem? This was not a problem on the previous installation.

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:UsersmuchadoDocumentsautoitAdSec_DrivertrunkAdSec_Driver.au3" /UserParams    
+>12:19:27 Starting AutoIt3Wrapper v.2.1.4.5 SciTE v.3.3.7.0   Keyboard:00000409  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0409)
>Running AU3Check (3.3.10.2)  from:C:Program Files (x86)AutoIt3  input:C:UsersmuchadoDocumentsautoitAdSec_DrivertrunkAdSec_Driver.au3
+>12:19:28 AU3Check ended.rc:0
>Running:(3.3.8.1):C:Program Files (x86)AutoIt3autoit3.exe "C:UsersmuchadoDocumentsautoitAdSec_DrivertrunkAdSec_Driver.au3"    
--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop
C:Program Files (x86)AutoIt3IncludeArray.au3 (1472) : ==> Unable to parse line.: 
Local $vElement = 0, $iDim_1 = UBound($avArray, 1), $iDim_2 = UBound($avArray, 2), $iDim_Max = ($iDim_1 > $iDim_2) ? $iDim_1 : $iDim_2 
Local $vElement = 0, $iDim_1 = UBound($avArray, 1), $iDim_2 = UBound($avArray, 2), $iDim_Max = ($iDim_1 > $iDim_2) ^ ERROR
->12:19:28 AutoIt3.exe ended.rc:1
+>12:19:28 AutoIt3Wrapper Finished..
>Exit code: 1    Time: 0.640
 
*** EDIT: Problem went away when I reinstalled AutoIT. Probably a problem when I installed somehow. In any case I installed the 64-bit version this time. ***
 
Thanks!
Edited by muchado
Link to comment
Share on other sites

  • Solution

But terenary operator is working from v3.3.10.*

Can you give the output of the code

MsgBox(0, 0, @AutoItVersion)

Regards :)

My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Link to comment
Share on other sites

Hmmm... strange. I uninstalled and re-installed and the problem went away. Curious and curiouser...

PS Is the version number is in the output that I expanded - i.e.:

"Running:(3.3.8.1):C:Program Files (x86)AutoIt3autoit3.exe "

I have reinstalled (this time with the 64-bit version), so I can't go back and check. However, as I run scripts now, I get:

"Running:(3.3.10.2):C:Program Files (x86)AutoIt3autoit3_x64.exe"

Edited by muchado
Link to comment
Share on other sites

Looks like you downloaded and installed the latest production version - which is now 3.3.10.2.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

PS Is the version number is in the output that I expanded - i.e.:

"Running:(3.3.8.1):C:Program Files (x86)AutoIt3autoit3.exe "

Yup thats it. I somehow missed it :P

My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...