Question: Passing arguments to a tiddler

8 views
Skip to first unread message

Shankar Swamy

unread,
Feb 9, 2012, 9:36:55 PM2/9/12
to TiddlyWikiDev
I have a large javascript tiddler with the following outline:

<script>
var myFile = "DataFile";
var ProcessedData = "";
...
...
...

return ProcessedData;
</script>

It works fine: everytime I click the tiddler hyperlink, it processes
the data in the "DataFile" and displays it as the tiddler text.

I would like to create multiple links such that each link processes
the data from a different data file. I noticed in the discussion
groups that people have often talked about passing arguments to a
macro. Is there a way of doing it with a tiddler without having to
turn it into a macro?

Thanks for your helps.

Cheers; 'best,
shankar
Reply all
Reply to author
Forward
0 new messages