[system] Repository:
ViewVC logotype

Revision 2672

Jump to revision: Previous Next
Author: dpvc
Date: Sun Aug 22 22:46:14 2004 UTC (15 years, 3 months ago)
Log Message:
Added easy calls to disable/enable collections of functions or
individual functions in the current context.  So you can say


to disallow the use of trig functions, or


to disable trig and numeric functions (like log, exp, abs, etc) but
allow sqrt.

Note that disabling sqrt() does not disable x^(1/2) (this must be done
through disabling the ^ and ** operators), and disabling abs() does
not disable |x| (which must be done by removing the '|' definition
from the Context's parens list).

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser/Context/Functions.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9