www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/25/08:42:08

Message-Id: <m104mGq-000S1lC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: fprintf AT iname DOT com (Stuart Hall), djgpp AT delorie DOT com
Date: Mon, 25 Jan 1999 10:47:32 +0000
MIME-Version: 1.0
Subject: Re: RHIDE question - not fully defined in the FAQs
In-reply-to: <36a760f2.14047580@news>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp AT delorie DOT com

fprintf AT iname DOT com (Stuart Hall) wrote:

> Ok, I was reading about the ^space feature of the SET editor, and
> RHIDE and could not get it to work.  The FAQs included on the SET
> homepage, and the RHIDE help files I downloaded indicated that I
> should look for a file called 'pmacros.txt' - which does not exist on
> my PC.  I tried a bunch of different things, but none seemed to work
> and the help files were not any more helpful than redefining what a
> pseudo-macro was supposed to do.

:-)), ok, let's see.

1) The files are now called  .pmc
2) You'll find 2 of these files pmacros.pmc and cpmacros.pmc (one for perl in 
the next release too).
 
> As a first resort, I tried copying the file pmacro.pmc to a text file,
> but to no avail.  

? Do you mean "cp cpmacros.pmc cpmacros.txt"? It won't work at all.

> Finally after several hours of playing and
> searching, I changed the name of a file in the SHARE/RHIDE folder
> called cpmacro.pmc to pmacro.pmc and voila! the predefined pseudo
> macros now work perfectly!!!  I think this could be added to the help
> files in 1.4.7, if they are not already there.  (I have 1.4 because of
> an aversion to beta-software :-)

1) 1.4.7 is more stable than 1.4 (even when is beta).
2) The pmacros.pmc file is the "default" pseudo macros file and is used for 
any file extention.
3) cpmacros.pmc is used for files with C syntax highlight.

> Here is what I would write:  "There are 32 predefined pseudo macros
> available which will assist in writing C programs.  The filename is
> cpmacro.pmc, and all that is needed is to change the filename to
> pmacro.pmc. 

But it isn't true ;-)

>  If you wish to utilize your own macros, you will need to
> either delete one or more of the 32 predefined macros 

Currently you can have more than 32.

> by editing the
> new pmacro.pmc or don't copy cpmacro.pmc, and simply write your own
> macros into pmacro.pmc"
> 
> The SET documentation in the RHIDE help files is extremely misleading
> by suggesting it is a text file.   

Is just outdated. 

As usually: I suggest to all the people playing with advanced features of the 
editor to download the standalone editor. Why? 
1) Because the readme and change.log documents some stuff not found in the 
help.
2) Because I have more control over it.
3) Because there are some experimental features/enhancements not yet found in 
RHIDE.

So you should first experiment with the editor and then apply the things to 
RHIDE or if they aren't yet available bug Robert to do it ;-)

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019