|
Wow! You did basically what I did. The fundamental was getting rid of the guillemets. Do you use a list of two letter mnemonics so it knows that TF is top of file, for example? I used quotes to separate literals, but I don't know whether or not you are--but from PR Done (file not saved) it looks like you don't need them (which you don't if you have a unique list of functions and commands--unique in the sense of almost never occurring in text). --Harry On Fri, 19 Jun 2026 18:26:13 -0400, Carl Distefano wrote: > Reply to note from Harry Binswanger <dmarc-noreply@xxxxxxxxxxxxx> Fri, 19 Jun 2026 12:55:26 -0400 > > Harry, > > > Can you post a sample of the New, Improved XPL? > > Sure. The following commented script will give you the flavor: > > # uc-harry.pgm > # Uppercase all instances of "harry" in the current file > # > QUIET/NV # Suppress error messages (like ES 1) > TF; XD > WHILE 1 > SE /harry/ > IF NOT $ERROR # "harry" is auto-selected;`UC` applies to DeFined text > UC > ELSE > BREAK # Early exit from (perpetual) While loop > EI > ENDWHILE > TF > PR Done (file not saved) > EX > > This is a bit of a manufactured example since `CI/T /harry/HARRY/` would accomplish the same. > > -- > Carl Distefano > cld@xxxxxxxxxx > |