Hi TwWizards (and Eric)

I read this old post:
http://groups.google.dk/group/tiddlywiki/browse_thread/thread/4f1a8c9959758ed7/19b8768a0672fbc1?hl=da&lnk=gst&q=wikicalc#19b8768a0672fbc1

I tried it out:
<<wikiCalc "%0/%1" [[MyFood::Vegetables]] [[MyFood::Hamburgers]]>>
Your diet is <<wikiCalc "(%0/%1)<1?'unhealthy... eat more
vegetables':'healthy... keep it
up'"[[MyFood::Vegetables]] [[MyFood::Hamburgers]]>>
|Vegetables|5|
|Hamburgers|6|

It doesn't seem to work..
I wonder if the extra two lines of code has been removed again?:
>I've just added a minor tweak (only two lines) to the existing plugin
>code, it can now assemble a javascript expression from slice values
>(automatically retrieved by the core's macro handler) and then also
>'eval' that expression to compute a new value before it is output as
>wiki-formatted content.

Or I have made some kind of misspelling in the syntax ??

YS Måns Mårtensson

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to