Hi, everyone. I'm using the "{(calc)}" recipe at Cookbook/MarkupExpressionSamples. I'm trying to do this:
(:gen:4708003830:) {(calc '(substr {$:gen} 0 -8) + 3')} which should return 50, but I just get "input error!". I've tried it a bunch of different ways, but nothing works so far. Might be worth mentioning that if I use the "{(math)}" recipe (from the same page), as in: {(math (substr {*$:gen} 0 -8) + 3)} it works fine, however I need to use calc for some of its other features. Any ideas? Thanks, James _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users