I discovered a bug in my MATH utility the other day. An example of the incorrect behaviour is
$ page_size = 512
$ math a = 20 * page_size
%MATH-E-UNDEF, DCL symbol PAGE undefined - calculation not done
$
What's going on here? It turns out that the lexer was rather dumb when it came to including valid characters in a DCL symbol name and was missing the dollar and underscore character (I mean the programmer of the lexer was rather dumb). This has been corrected and a new version of the utility is available on the MATH download area.
Posted at June 29, 2010 2:20 PMComments are closed