MEM file viewer

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

MEM file viewer

Post 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
Attachments
MEM_FILE_VIEWER.rar
(2.42 MiB) Downloaded 178 times
There's nothing you can do that can't be done...
User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: MEM file viewer

Post by Steed »

Thansks
franco
Posts: 816
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: MEM file viewer

Post by franco »

Thanks for sharing
Franco
All The Best,
Franco
Canada
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: MEM file viewer

Post 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
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: MEM file viewer

Post by luisvasquezcl »

Thanks for release.
best regards,
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: MEM file viewer

Post by mustafa »

Serge
merci beaucoup pour la contribution
Mustafa
Post Reply