GAMScodeFilter {gms}R Documentation

GAMScodeFilter

Description

Cleans GAMS code supplied from empty lines and comments.

Usage

GAMScodeFilter(x)

Arguments

x

A vector with lines of GAMS code (as you get by reading the code with readLines)

Value

The cleaned GAMS code

Author(s)

Jan Philipp Dietrich

See Also

readDeclarations

Examples


GAMScodeFilter(c("","*comment","a=12;","","b=13;"))


[Package gms version 0.31.2 Index]