1. New trace window feature
- Posted by Alan Oxley <fizzpop at icon.co.za> Jan 09, 2006
- 530 views
Hi Rob & group, Please consider this for the nice to have list: When querying a sequence variable with the ? char, how about the response showing the length and nesting level of the displayed sequence? While we can add another line of source just above the traced point to set a junk variable equal to the length, we would have to edit the source...this can be tedious for many variables. Possibly in pretty_print() too? Regards, Alan
2. Re: New trace window feature
- Posted by Robert Craig <rds at RapidEuphoria.com> Jan 09, 2006
- 476 views
Alan Oxley wrote: > Hi Rob & group, > Please consider this for the nice to have list: > When querying a sequence variable with the ? char, how about the response > showing the length and nesting level of the displayed sequence? > > While we can add another line of source just above the traced point > to set a junk variable equal to the length, we would have to edit > the source...this can be tedious for many variables. > > Possibly in pretty_print() too? Yes, in trace, I've often wondered what the length of a long sequence is. I'll consider it. It might clutter the display though. Thanks, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
3. Re: New trace window feature
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 09, 2006
- 474 views
- Last edited Jan 10, 2006
On Mon, 09 Jan 2006 04:17:04 -0800, Alan Oxley <guest at RapidEuphoria.com> wrote: >Hi Rob & group, >Please consider this for the nice to have list: >When querying a sequence variable with the ? char, how about the response >showing the length and nesting level of the displayed sequence? One way to solve the length part is to allow ? length(s) - and at the same time one of my top wishes for the debug window, ? s[357]. Regards, Pete PS Sure, ?s[i] would be handy no doubt, but ?i followed by ?s[357], - if needbe, keep it simple.
4. Re: New trace window feature
- Posted by Vincent <darkvincentdude at yahoo.com> Jan 10, 2006
- 501 views
Robert Craig wrote: > > Alan Oxley wrote: > > Hi Rob & group, > > Please consider this for the nice to have list: > > When querying a sequence variable with the ? char, how about the response > > showing the length and nesting level of the displayed sequence? > > > > While we can add another line of source just above the traced point > > to set a junk variable equal to the length, we would have to edit > > the source...this can be tedious for many variables. > > > > Possibly in pretty_print() too? > > Yes, in trace, I've often wondered what the length of a > long sequence is. I'll consider it. It might > clutter the display though. > > Thanks, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> What you can do is introduce a "$" trace command, that prompts for the name of a sequence variable. It could be equivelent to "length(seqvar)". If the user tries to use it on atoms and integers, have it issue a warning message on the command line. Regards, Vincent
5. Re: New trace window feature
- Posted by George Walters <gwalters at sc.rr.com> Jan 13, 2006
- 512 views
- Last edited Jan 14, 2006
While we're on the trace subject I would like to be able to display an element within a sequence. If you have very long sequences it would be nice to ask to display bigsequence[25] for example.