Hi,
I can't succeed in creating an abstraction in which I can add one argument to read different text files.
So I can use it many times
[abstraction 1] would read file1.txt
[abstraction 2] would read file2.txt
...
So inside I tried to insert the $1 as I would in any object but it doesn't work?
it goes like :
error: file$1.txt: argument number out of range
error: file$1.txt: can't open
error: file$1.txt: read failed
Is my syntax wrong or should I do it another way?
[read file$1.txt(
thanks for help!