Page 1 of 1

MEM file viewer

Posted: Sat Nov 03, 2018 9:13 am
by serge_girard
To all:

Many times I needed to know the content of my variables at some point ( especially in deferror ). So I created a mem-file viewer.
It contains 2 prg/exe:

mem.prg: this let you select the file to view; 3 types : 1) .dbf 2) .txt-prg-bat-ini-html(code) and 3) .mem
read_mem_file.prg: this makes a html file of the mem-file you selected. It is executed by mem.exe

The reason why I used 2 programs is because the program needs to restore the variables and this could interfere with the mem.prg variables.
It's easy to adept to your own needs and it now assumes it is located in C:\test

Code: Select all

FERASE('c:\test\mem.html')
F1 := cFILE + ' c:\test\mem.html'
EXECUTE  FILE 'c:\test\read_mem_file'  PARAMETERS F1 MINIMIZE   
Just replace C:\test with your own location.

Now let's have fun and enjoy reading your .mem files!

Serge

Re: MEM file viewer

Posted: Tue Nov 06, 2018 6:19 pm
by Steed
Thansks

Re: MEM file viewer

Posted: Tue Nov 06, 2018 9:33 pm
by franco
Thanks for sharing
Franco

Re: MEM file viewer

Posted: Tue Nov 06, 2018 9:53 pm
by EduardoLuis
Hi Serge:

Thanks in advance for share your mem_vierwer.-
As i'm leaving from my office to home, i'll test later.-
With regards.
Eduardo

Re: MEM file viewer

Posted: Wed Nov 07, 2018 2:34 am
by luisvasquezcl
Thanks for release.
best regards,

Re: MEM file viewer

Posted: Wed Nov 07, 2018 10:55 am
by mustafa
Serge
merci beaucoup pour la contribution
Mustafa