Seq Viewer 1.2.1

2002/04/12 18:00

Instructions

How to run the application?
The program is distributed in 3 formats. You can open the PRJ file in Judith's enhanced IDE and run it with F5. An other way is to run the EXW with Euphoria interpreter. Make sure that you have all the necessary include files! The bget.e is not part of the official Euphoria 2.3 release so I put it also in the package. At last the third (and most convinient) way to run this application is the EXE.
How to open files?
If you hit the first button in the menu or press Ctrl-O you should get a dialog. Here you can choose the file. Theoretically you can also open the file by drag-and-drop. It works most of the times.
How to read the Euphoria sequence format of a sequence?
Select the item (e.g. "FAQ") and hit the right mouse button. You can also press the space bar. The result (e.g. "Sequence {70,65,81}") is shown in the the statusbar.
How to close this application?
Beside the regular Windows ways (Alt-F4 or click on the X) you can also close the application from the menu or by pressing Esc button. Why is this button forgotten? I never understood...

FAQ

For what can this be used?
I originally developed this proggy because I was lost with nested sequences in my programs. Now I usullay save them as a temp file with bprint() and later I open it with Seq Viewer. This way I can check if everything is at the right place. Sometimes it is more useful than trace(1). And the usage of bprint() is very easy... Look at this.
include bget.e
integer fn
fn=open("xxx.dat","wb")
bprint(fn,{"A long",{32,"nasty"},"sequence!"})
close(fn)
Can I open Euphoria Database System files (*.EDB) with Seq Viewer?
Yes, you can.
Why do I see black squares in the screen?
Probably the sequence contained strange characters. E.g. {70,65,81} would appear as "FAQ" but a sequence like {1,65,81} would replace the first letter for a square. Sorry that's it. Right mouse click can help to learn more about the item.
Why do you have these terrible icons?
Because I did not want to waste too much time with drawing. But you have the source, so if you don not like them then just rewrite the XPM constans.
What does that counting mean while opening a file?
Hmmm, I wish I knew. It is definatelly not the number of items that I wanted to count originally.
I have found a bug!
Correct it!

Introduction

Copyright
(c) 2002 András Szabó (salix@freemail.hu). Seq Viewer was created with David Cuny's and Judith Evans' Win32Lib and IDE. It requires the bget.e from Gabriel Boehme. Many thanks to RDS for Euphoria!
Goals
This program lets the user quickly open and preview any Euphoria Database Archives or files created with the bprint() procedure of the bget.e include file.
Limitations
First of all it is a bit slow. If you want to open a big file then you have to wait. But works fine with small ones. The other limitation is that you can not get the Euphoria sequence format of table names in EDB files by right mouse click.