home *** CD-ROM | disk | FTP | other *** search
- SUCHEN/ERSETZEN mit ASCII-LISTE in <ASCII-PRO>:
- TEST-DATEI für SUCH-LISTE "SUCH.LST" zur Demonstration !
- K. Th. Hell (c)
- Syntax:
- Als Suchliste die Datei "SUCH.LST",
- als zu bearbeitende Datei "SUCH.TXT"
- und als MARKE CODE 177 eingeben!
- Optionen >Gross-klein-Unterscheidung<
- und >SPACE SIMULIEREN< wählbar, z.B.
- "ASCIIPRO.EXE SUCH.LST SUCH.TXT 177 J J"
- (Eingabe über MENU oder KOMMANDOZEILE/BATCH-Datei)
-
- Zur Kontrolle diese Datei mit HEX-DUMP in <ASCII-PRO> betrachten !
- *******************************************************************************
- Beispiele zur Demonstration von "SUCHEN/ERSETZEN mit LISTE":
- clear, close, etc. sollen in CLEAR, CLOSE, etc. gewandelt werden.
- GESUCHT wird nach "clear", " close", " command ", " if ", "und ",
- "tab-a", " tab-x ", " tab-y ", " key ", " main " und " end ".
- clear clear clearclear clear clear
- close close close close close
- Vor "close" 1 x TAB, dazwischen <TAB>, <SPACE> und ASCII-CODE 255
- command ▒ command command command Command command command
- Leerstelle vor und nach "command" (hier KEIN <SPACE> vor/nach Wort!)
- Als MARKE wurde ASCII-CODE >177< benützt !
- if ▒ if if if if if if if if if
- < if > hat Leerzeichen vor und hinter "if" und ev. >TAB< dazwischen !
- Beachte Schreibweise (Gross/Klein) bei SUCHEN-ERSETZEN (z.B. " Command ")!
- Kein <SPACE> hinter: "tab-x,", "tab-y", tab-z."
- tab-x tab-x Tab-x tab-x tab-x !
- tab-y tab-y tab-y tab-y tab-x tab-z xxxxx tab-z tab-z tab-x
- tab-z tab-z tab-z tab-z tab-z tab-z tab-z
- key ▒ key key key key key key key key key
- main ▒ key main end und clear close if tab-y tab-z tab-a
- end ▒ und ▒ und und und und und
- key main end if clear close close clear if if command tab-a if und und
- key key key main main main end end end und und und
- tab-x tab-x tab-x tab-x tab-x tab-x y tab-x y tab-x
- tab-a tab-a tab-x tab-x tab-x tab-y tab-y tab-y tab-z
-
- Obige Zeile ist LEER !!
- *********************** ENDE Demonstrations-Datei ******************************
-