TIP: Click on subject to list as thread! ANSI
echo: qedit
to: MORTEN CHRISTENSEN
from: HENK SIMMELINK
date: 1995-06-05 11:06:00
subject: lFind() in TSEpro macro

Hello Morten!
Sunday May 28 1995, Morten Christensen writes to All:
 MC> In TSEpro 2.0 I must identify all lines in an ascii-file, with the
 MC> contents anchor'ed to column 1:
 MC>     1234567890 Abcdefghijklmnopqrstuvwxyz
 MC> 4 spaces, 10 spaces or any other caracter, 1 space, 26 caracters or
 MC> spaces (impossible to know, where in the 26 caracters, the spaces
 MC> start).
 MC> The unique identifiers wil be the spaces combined with, that the lines
 MC> are empty after column 51. Other lines will have the spaces in the
 MC> beginning, but not be empty after column 51.
Try this:
>>>>>>>>>>>>>>>>>>>>>>>>
if lFind('    .......... ..........................','igx^')
    repeat
        if CurrLineLen() < 52
            // Do something with it....
        endif
    until not lRepeatFind()
endif
>>>>>>>>>>>>>>>>>>>>>>>>
Henk
---
---------------
* Origin: (2:283/4.6)

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