Ste, Of course you could use Evans formulas plugin for more advanced math.
I am was advanced basic coder from way back. The problem is basic is a procedural language, in you question part of computing the result is to call subroutines etc.. This is not the way its done in tiddlywiki although you can have transclusions operating similarly. If instead you can take you basic code back to pseudocode I think you will find it easier to then find the tools in tiddlywiki to do the job. For example marks formulae once you write the "problem" as Tsine(x) =x-(x^3)/6+(x^5)/120 this should be able to be put in evans formula plugin in his cude mushroom brackets (= formulae =) including references to fields and variables. Although I would love to be better versed in Javascript inclusion in tiddlywiki my opinion is that you would find value in learning how to implement such solutions in tiddlywiki rather than reverting to javascript or your own development in understanding tiddlywiki, increased reusability over bespoke java script, and much more shareable solutions. Basically move into native tiddlywiki plus generalised plugins. Once you have mastered native tiddlywiki you may discover some gaps (Not so many remain) which you could remedy with a general solution in javascript you can share with the community and advance tiddlywiki further. Regards Tony On Tuesday, October 29, 2019 at 8:45:15 AM UTC+11, Ste Wilson wrote: > > > > On Monday, 28 October 2019 19:43:23 UTC, Mark S. wrote: >> >> There's an approximation formula that could be made in TW: >> >> sine(x) =x-(x^3)/6+(x^5)/120 >> >> But, the thing is, the full power of Javascript math is so close ... >> without the need for approximations. Well, I suppose >> all values of sine (except special cases) are approximations. >> >> On Monday, October 28, 2019 at 11:42:20 AM UTC-7, Ste Wilson wrote: >>> >>> Thanks mark, I'll have a play. The mathcell macro allows js math >>> operations so I can use that for the trig.. I think.. >> >> > Think I'll just go learn a bit of js instead... > to get the number to use the set widget on is actually the first hurdle > because the value in the field is the formula and the mathcell macro > (allows access to js math) uses the reveal widget to give the result, and I > can't work out how to wikify it, even though i'm fairly sure this is a > problem I've solved/ had solved for me before (cant' find the solution > anywhere!),only THEN can i get recursive :D > > Thanks for the help Mark! > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2d6f924a-d398-4466-bc85-e52be6dcd505%40googlegroups.com.

