home *** CD-ROM | disk | FTP | other *** search
- # ----------------------------------------
- # - Beispielmakro fuer den Befehl strlen -
- # ----------------------------------------
-
- # Protokollfensterausgaben ermoeglichen
- set PROTWIN = "on"
- debug "Makroname: ", argv_0, "\n"
-
- set Text = ""
- debug "Text: <", Text, ">\n"
-
- # Neue Namen am Ende einfuegen
- set Text = "Andreas"
- debug "Text: <", Text, ">\n"
-
- # Laenge ermitteln (= Position zum Einfuegen am Ende)
- strlen Pos of Text
-
- strinsert Text, " Fritz", Pos
- debug "Text: <", Text, ">\n"
-
- # Laenge ermitteln (= Position zum Einfuegen am Ende)
- strlen Pos of Text
-
- strinsert Text, " Hugo", Pos
- debug "Text: <", Text, ">\n"
-