GAMScodeFilter: GAMScodeFilter

View source: R/GAMScodeFilter.R

GAMScodeFilterR 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;"))


gms documentation built on June 29, 2024, 9:07 a.m.