Solved : Parenthesis in a file name ?

Monkey Forums/Monkey Beginners/Solved : Parenthesis in a file name ?

golomp(Posted 2015) [#1]
Hi,

If i save and execute a file without parenthesis in the name,
for example "blah.monkey"
it do the job.

If i change the name and include parenthesis,
for example "blah(basic).monkey"
it does nothing.

So is this a possibility in filename i dont know in monkey ?


degac(Posted 2015) [#2]
I just tested with Ted 1.22 - I created, saved, and reopened a file named 'test(one)' without problem


ziggy(Posted 2015) [#3]
You can't exwcute monkey files that have characters other than a to z, A to Z, 0 to 9, and _ And they need to start with a letter.
Filename can be used inside Monkey code, in a similar way you can use a variable name, so having parenthesis or similar is not accepted by the compiler.


degac(Posted 2015) [#4]
I didn't understand that he refers to a file opened/handled in the Monkey's source.


Danilo(Posted 2015) [#5]
Even spaces and case sensitivity may be issues with filenames, and MX is the only language I know that has that much problems with filenames.


ziggy(Posted 2015) [#6]
Other than Java? XD


Danilo(Posted 2015) [#7]
-


golomp(Posted 2015) [#8]
Thanks for your answers, i did'nt know this rule.

I am sorry to reply so lately, i have a sata hard disk (9 years old) wich failed and i spend a lot of hours to rescue my datas with disk to disk transfers.

Regards,
Golomp