TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Ruud Senden
date: 1996-08-29 13:58:40
subject: IPF

Phil Crown schreef op 27 Aug 1996 om 08:50 aan Ruud Senden:

 RS> However, sample.cfg has an '&' in it (which cannot be replaced with
 RS> something else), about which IPFC produces a warning-message, and the
 RS> file doesn't appear correctly in the document. Is there a simple 
 RS> solution for this, without having to maintain the same file in two 
 RS> different places?

 PC> How about renaming the sample.cfg with an '&' to something without
 PC> the '&', compile the .ipf source, then rename the back to
 PC> sample.cfg with the '&'

Why should I rename the sample.cfg? The '&' isn't in the filename, but
in the contents of the file. The contents of the file are inserted
literally in the IPF-file at the .im-statement, so IPFC complains about the
contents of sample.cfg.
I could ofcourse automatically replace the '&' with '&.' and
back to '&' again after running IPFC, from a makefile using sed or
something like that, but it would be easier if it is possible to include a
file literally, without interpreting it as IPF-code.

Regards, Ruud  (Internet: rsenden{at}students.cs.ruu.nl) 

--- timEd/2 1.10+
* Origin: The OS/2 Warp Based System (2:280/804.2054)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 280/804 801 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

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™.