Modgen : Actions - String

Info

Modeling and Generation

Custom designs

Custom designs are a main service.

About the initiator

My name is James Wayne. I live in ... the Netherlands

User Guide Modgen




Actions - String

String manipulation actions are used to merge texts, to create Finite State Machines, and to convert files, e.g., from hypertext-files into RTF-files.

Text-action can be used in combination with substitution-actions.

The principle of these actions is:

The text-files are closed (Via CLOSE_IN and CLOSE_IN_ALT)

ActionsDescription
LINE_GETFetch line. (BLINE becomes TRUE or FALSE)
WORD_GETGet word from line fetched (BWORD becomes TRUE or FALSE)
CHAR_GETGet character from line fetched (BCHAR becomes TRUE or FALSE)
ALT_ONSet input stream to alternative text file; swap contents of LINE and LINE_ALT.
ALT_OFFSet input stream back to first text file; swap contents of LINE and LINE_ALT.
COMP_LINECompare LINE and LINE_ALT (BLINE becomes TRUE or FALSE).
LINE_SRCHFind string SEARCH (See System parameters) in LINE (LOCATION becomes 0 or 1).
CHAR_PUTPut CHAR in output buffer LINE_OUT.
WORD_PUTPut WORD in output buffer LINE_OUT.
LINE_PUTPut LINE_OUT to output buffer.
FLUSHWrite LINE_OUT in OUT file.
LINE_OUT_EMPTYMake output buffer LINE_OUT empty.
PAR_EMPTY {PAR1}Make parameter {PAR1} empty.
ACCUMULATE {PAR1} {PAR2}Concatenate }PAR1} with {PAR2}.



Picture fetch

If you like the header, it can be found here.


Images

firefox

If you are using firefox, put your cursor over the logo. But for some reason IE does not like image rollover effects. Its not that big of a deal.