Example #1
0
        private void parsePrint(String word)
        {
            String[] tokens   = CommandSplitter.split(word);
            bool     strftime = (tokens[tokens.Length - 1].Contains("strftime"));

            if (tokens.Length < 3)
            {
                throw new ArgumentException("Invalid GPRINT specification: " + word);
            }
            gdef.print(tokens[1], tokens[2], strftime);
        }