TIP: Click on subject to list as thread! ANSI
echo: qedit
to: GEORGE DE BRUIN
from: RON MCLEOD
date: 1995-05-31 12:18:00
subject: Macro to remove blank lin

    George, recently you supplied a routine to Tom Hall to remove blank
lines.  I'm doing something wrong, because I can't get by an error when
the prog. tries to compile the config.dat file.
I use the Macro #F12 within QCONFIG.DAT, ie:
#F12     proc mRemoveBlank()
         PushPosition()          // Save current position
         BegFile()               // Goto the beginning of the file
         While lFind("^$","X")   // As long as we find a blank line
         DelLine()            // Delete the line
         endwhile
         PopPosition()           // Restore our starting position
         mRemoveBlank()
end
    I'm using TSE JR/2.  What am I doing wrong here?
... To laugh at men of sense is the privilege of fools.  
--- Blue Wave/Max v2.12 OS/2
---------------
* Origin: Mach2/Vulcan Os/2 Systems 1-403-489-4250 (1:342/61)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.