1. Anyone want to code a useful utility and get some EuBucks?

This one would be guaranteed to get about 6 months worth of my EuBucks, 
provided you made it a win or dos file.

A utility file that will parse ex.err, strip out EVERYTHING except the 
variables list in the main Eu file, the list that is right at the end.

Then it should parse that part of the file, and ask you for each 
sequence whether it should be interpreted as a string or a number 
sequence. I'll give you another 2 months worth of EuBucks if it saves 
the answers in some sort of preference file so you don't have to enter 
the answer for sequences you've already decided each time you go through 
the ex.err file for a specific program.

The output file should be the list of variables corrected into something 
more meaningful.

IOW, you'll get something that looks like this.

contents of myprog.err
number = 4
myAccounts = 17
stuffILike = {cool stuff}
kinds of cool things I have = {books, music, rocks, dead bugs}
number of cool things = {books, {sci fi, romance, mags}, {12, 1, 37}}

Hopefully that gives you an idea. I would dearly love to program this 
myself, but I'm afraid it's beyond my meager abilities.

Anyone up for it?

new topic     » topic index » view message » categorize

2. Re: Anyone want to code a useful utility and get some EuBucks?

I was thinking about doing something similar: to write it to database file
and to view it with edsgui because now it's hard to look at long sequences
in ex.err. But someone said they are truncated in ex.err so ... I don't
know.

----- Original Message -----
From: "SR.Williamson" <writeneu at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Subject: Anyone want to code a useful utility and get some EuBucks?


>
> This one would be guaranteed to get about 6 months worth of my EuBucks,
> provided you made it a win or dos file.
>
> A utility file that will parse ex.err, strip out EVERYTHING except the
> variables list in the main Eu file, the list that is right at the end.
>
> Then it should parse that part of the file, and ask you for each
> sequence whether it should be interpreted as a string or a number
> sequence. I'll give you another 2 months worth of EuBucks if it saves
> the answers in some sort of preference file so you don't have to enter
> the answer for sequences you've already decided each time you go through
> the ex.err file for a specific program.
>
> The output file should be the list of variables corrected into something
> more meaningful.
>
> IOW, you'll get something that looks like this.
>
> contents of myprog.err
> number = 4
> myAccounts = 17
> stuffILike = {cool stuff}
> kinds of cool things I have = {books, music, rocks, dead bugs}
> number of cool things = {books, {sci fi, romance, mags}, {12, 1, 37}}
>
> Hopefully that gives you an idea. I would dearly love to program this
> myself, but I'm afraid it's beyond my meager abilities.
>
> Anyone up for it?
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Anyone want to code a useful utility and get some EuBucks?

----- Original Message -----
From: "SR.Williamson" <writeneu at hotmail.com>

> Anyone up for coding a debug include file that will write a list of
> variables and sequences to an eds database?

I already have my debug.e which does almost everything you are asking for.

I use procedure show (sequence name, object o)
which prints objects on screen like ? command, a little better (letters for
numbers, like in trace).
Include file also has options that show() writes to text file or also to EDS
database.
I almost never use those two options.
I use a lot for debugging:
show()
showw() - show() and wait for key press

I created macro in my editor so that I just type name of variable in
inputbox and it writes function call - to avoid typing. It works great. This
type of debugging is even better than with trace () unless you want to see
flow of your code (which if() statements are true...)

For reporting in which routine you are I would add functions
dbg_enter_routine (routine_name) and dbg_exit_routine() but I don't really
think they are needed 'cos you don't have many vars with same name in code.

I can polish that file up and send it to archives if you want it?

new topic     » goto parent     » topic index » view message » categorize

4. Re: Anyone want to code a useful utility and get some EuBucks?

Matt Lewis writes:
> <looking at source code>Rob, it looks like you've limited the number of
> lines of output in ex.err.  What about a manual switch to set this
> limit.</looking at source code>

Yes, I have an arbitrary cutoff at 25 lines on any sequence value.
This is done just to prevent you from getting a humungous ex.err
file that takes up space, takes time to write out, and is annoying to
scroll through.

I'll consider how to let the user control this limit in the next release.

Of course, if you know where the program is going to crash,
you can always use print() or "?" to dump the full
sequence value.

Thanks,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu