Sending Program Listings to ASCII File (AREV Specific)
At 04 MAR 2002 05:17:24PM Tony Burke wrote:
How do you send a program listing to an ASCII file so it can be later viewed with a text editor(Notepad, Word, etc…)?
At 04 MAR 2002 05:37PM WinWin/Revelation Technical Support wrote:
Tony:
From TCL, enter the following commands:
PDISK C:\MY_BLIST
BLIST FILENAME RECORDNAME
PDISK PRN
you can then edit c:\my_blist.
Hope it Helps
At 04 MAR 2002 05:40PM Don Miller - C3 Inc. wrote:
Several ways available:
Open a New Record in DOS and give it a valid dos filename (MYSTUFF.TXT)
Open a source program and cut with CTRL+F3
Switch windows and Paste (CTRL+F4)
press F6 and Convert to DOS format. Save it.
Use PDISK:
PDISK MYSTUFF.TXT
BLIST SOURCE_FILE SOURCE_RECORD (LEI)
Use Copy with the DOS option
COPY SOURCE_FILE SOURCE_RECORD TO:(DOS PROGRAM.TXT (I)
HTH
Don Miller
C3 Inc.
At 05 MAR 2002 01:10PM Michael Slack wrote:
I personally like the:
COPY TABLE PROGRAM_NAME TO:(DOS A:\PROGRAM.TXT (I
method myself. The "I" option copies the rows into DOS format. When you are done editing it you can:
COPY DOS A:\PROGRAM.TXT TO:(TABLE PROGRAM_NAME (R
The "R" option converts to Revelation foramt. This copies and converts the text into an AREV row within the table specified. These two are handy if I need to send a program to someone as an E-mail attachment. This way the other person can copy it into there AREV system and run it and change it. Then send back the updated program by the same method.
I work on an AREV 3.12 system. It might be slightly different if you are using a different version.
I hope this helps.
Michael Slack
At 05 MAR 2002 07:45PM Matt Sorrell wrote:
Michael,
Of course, if you're just sending it as an attachment for them to copy into their system, there's no real need to use the (I and (R switches.
Of course, it looks really weird when you open it in notepad when you haven't converted it.
At 07 MAR 2002 05:43PM Tony Burke wrote:
Thanks. Your help is greatly appreciated:-)
At 07 MAR 2002 05:43PM Tony Burke wrote:
Thanks. Your help is greatly appreciated:-)
At 07 MAR 2002 05:44PM Tony Burke wrote:
Thanks. I'll give it a try. Your help is greatly appreciated:-)