Compiler complaining about module filenames
Darkside
Posts: 345
This is weird and doing my head in.
Created module and saved in Studio as 'SB&A Avitech Sequoa V1.00.axs'
Windows filename is the same.
It won't compile. Grizzles about the name as follows:
No it's not named 'SB&A Avitech Sequoa V1' at all! Windoz Explorer confirms a file called SB&A Avitech Sequoa V1.00.axs, and,
So, tweak the module name to be 'SB&A Avitech Sequoa V1' and it compiles
When I instantiate it, the main code now grizzles about using 'SB&A Avitech Sequoa V1' saying it doesn't exist, but if I tell it to use 'SB&A Avitech Sequoa V1.00' it works.
Seems like the module .axs file is struggling to use the '.00' portion of my revision number declared in module_name even though it was studio who saved a windows filename of the same name!
Anyone seen this?
Have I missed something?
Created module and saved in Studio as 'SB&A Avitech Sequoa V1.00.axs'
Windows filename is the same.
It won't compile. Grizzles about the name as follows:
ERROR: C:\blahblah\SB&A Avitech Sequoa V1.00.axs(1): C10532: File is named [SB&A Avitech Sequoa V1.00], but module name is [SB&A Avitech Sequoa V1]
No it's not named 'SB&A Avitech Sequoa V1' at all! Windoz Explorer confirms a file called SB&A Avitech Sequoa V1.00.axs, and,
module_name='SB&A Avitech Sequoa V1.00'(dev ip_port_num,blahblahblah)
So, tweak the module name to be 'SB&A Avitech Sequoa V1' and it compiles
When I instantiate it, the main code now grizzles about using 'SB&A Avitech Sequoa V1' saying it doesn't exist, but if I tell it to use 'SB&A Avitech Sequoa V1.00' it works.
Seems like the module .axs file is struggling to use the '.00' portion of my revision number declared in module_name even though it was studio who saved a windows filename of the same name!
Anyone seen this?
Have I missed something?
0
Comments
100% agree with this ^^^. It may be an outdated paranoia, but I just can't bring myself to trust modern filename permissions.
I am suspicious about '&' also. In the days of G3 webcontrol, the XML used to freak out and fail when it saw that.
I've not removed the ampersand from the filename to test this theory or perhaps even a combination of both theories yet - Just haven't had a window of opportunity to stop and try it..
Thanks for the replies gentlemen...much appreciated.
Appreciate the replies...
So, for all of my module files I use an underscore in place of a dot.
Yes, it's a strange inconsistency.