[Tinymux] MUX and Functions

Mark Withers valk at spiderstream.net
Mon Mar 21 14:43:05 EST 2005


 	 I /may/ have a bug here, or maybe it's the desired behaviour.

MUX seems to be too aggressive about checking for functions. For example try:

think edit(edit(edit(edit(edit([Test number, (one).],\,,[chr(44)]),numbre,#),e,E),\),[chr(41)]),\(,[chr(40)])

MUX will return:

#-1 FUNCTION (tEst numbEr,) NOT FOUND

I've seen this behaviour with less complex entries, but this is simply the one I'm playing with ATM. Isn't that behaviour too aggressive? Why is MUX looking for a function with a space in the name, much less one with a comma? Oughtn't it be a little more selective, looking for a function only when it's a string of A-Z,a-z,0-1,-,~, and a few special characters? (The next step further IMO would be to not give an error message but just spit out the text encountered if it can't find a function, but I understand that's not exctly kosher behaviour.)

Or am I looking at it from the wrong perspective? 

--
--

Mark A. Withers
--


More information about the Tinymux mailing list