[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Move blocks up or down--nifty functions



Reply to note from Harry Binswanger  Sun, 10 Dec 2017
21:55:00 -0500

Harry,

> Surprisingly handy routines.

Yes, they work as advertised. Your test for an existing DF block is a
bit laborious, though. Try this instead:

XPLeNCODE v2.0 (ENCODE.A3X)
b-gin [UNTITLED]
[DZ_]{<}IF{<}VA$DE{>}<1{>}[DL_]{<}EI{>};*;
-nd
XPLeNCODE

Func DZ closes an existing DeFine if one is open, otherwise does
nothing. Cleaner than opening a DeFine unnecessarily, then canceling it.

--
Carl Distefano
cld@xxxxxxxx