Jump to content
aiter

show more than 1 occurence of _ArrayDisplay

Recommended Posts

aiter

Is there a way to show more than 1 occurence of _ArrayDisplay?

I cannot show more than 1 occurence.  I have to close the existing occurence before I can view another one.

Share this post


Link to post
Share on other sites
jchd

AutoIt being mono-threaded, it isn't possible. What you could do is create your own _ArrayDisplay-looking GUI with all bells and whistles you need and invoke _ArrayDisplay separately.

  • Like 1

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites
KickStarter15

@aiter,

Can you provide your code for us to check?


Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.

Share this post


Link to post
Share on other sites
jchd

I'd add that since _ArrayDisplay internally uses its own message loop, you would have to handle your own array GUI in event mode (2 message loops can't be used at once).


This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites
orbs

another alternative: instead of _ArrayDisplay, write the array to a text file, and ShellExecute that file. so your script can go on about its business while you can view side-by-side as many arrays as you want.

you can improve on that by writing the arrays to CSV files, then open several such files inside one Excel workbook.

Share this post


Link to post
Share on other sites
LarsJ

The new _DebugArrayDisplay has built-in functionality to do exactly that:

#include <Debug.au3>

Global $aArray1 = [ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
Global $aArray2 = [ 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 ]
Global $aArray3 = [ 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ]

_DebugArrayDisplay( $aArray1, "$aArray1", "", 0, Default, Default, Default, ShowArray2 )

Func ShowArray2( $p1, $p2 )
  _DebugArrayDisplay( $aArray2, "$aArray2", "", 0, Default, Default, Default, ShowArray3 )
EndFunc

Func ShowArray3( $p1, $p2 )
  _DebugArrayDisplay( $aArray3, "$aArray3" )
EndFunc

 

  • Like 1
  • Thanks 1

Share this post


Link to post
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

×