comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Feature request: printing very long arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Feature request: printing very long arrays [message #91127] Mon, 08 June 2015 05:48 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
I don't know if this happens only to me, but sometimes while debugging I like to look at what's inside a variable. Most of the times I use the command:

help, variable

and sometimes

print, variable

However, sometimes I'm too eager to look at what's hidden under the name and I go directly for the print option. And if I'm so stupid to do that on array of say 4096 x 4096 elements... well it takes a while and the only way to stop this useless overflow of data is to kill the IDL process.

Is there a chance we a print command that looks like this:

IDL> print, veryBigVariable
[ 0 1 ... 999998 999999]

and
IDL> print, veryBigVariable, /fullPrint
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
....

well you got the point.

Any chance of this showing up in the future?

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: trouble with image(), /data, /norm
Next Topic: Extraction from *.txt file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 09:22:58 PDT 2025

Total time taken to generate the page: 0.00440 seconds