摘要 |
A method for converting text characters from a Standard Generalized Markup Language file into another specified language using a CONVERSTR variable, a HTMLCODE variable and a VAL variable, wherein each character represents a tag or text, and each tag has a start and an end, which includes the steps of (a) reading a character from the file, (b) determining whether the read character is the start of a tag, (c) adding the read character to the CONVERTSTR variable when the read character is not the start of a tag, (d) repeating steps (a), (b) and (c) for a next character until a read character is the start of a tag, (e) converting the CONVERTSTR variable into the specified language, and (f) adding the converted CONVERTSTR variable to the HTMLCODE variable.
|