Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Highlight.Purge (gb.eval)

Static Function Purge ( Code As String [ , Comment As Boolean, String As Boolean ] ) As String

Removes comments and/or strings from a Gambas code line.

  • If Comment is FALSE, then the contents of the comments are replaced by spaces. Otherwise, they are kept unchanged.

  • If String is FALSE, then the contents of the strings are replaced by spaces. Otherwise, they are kept unchanged.

By default, both comments and strings are removed.