Ive reduced what Im trying to do as much as I can.
The problem seems simple:
I want to have an abstract that I can pass a filename in that is for a file of data. then graph the data.
I've tried a lot of things. None work. I would prefer not to use pd-extended, this is to go on a beaglebone and I don't want to have loads of stuff on there that I am not using.
So can someone tell me why [pack $1 s] doesn't recognize $1 and tells me it is the wrong type but does recognize the output from [makefilename $0-array] ? (passing in testdata.txt)
Why doesn't [makefilename $1.txt] recognize $1 and make a file name testdata.txt ? (passing in testdata)
[print $1] works. it seems to be the only thing that does in this context.
Sorry if I sound a bit frustrated but I have been trying this for two weeks, reading and testing lots of different ways.
I realise I am doing something wrong but for the life of me I do not know what.
Any help would be greatly appreciated.
Thanks
Michael