Post subject: Effect of long filenames on program stability
Posted: Thu Aug 25, 2016 4:10 am
Joined: Tue Oct 01, 2013 4:37 am Posts: 33
Possible impact of longer file names on whether a program will run? While writing programs on laptop and running/testing them over USB cable with the Launcher, I have noticed that the same program which runs quite happily when called for example "sc1.bas" will often fail to generate any output when renamed to "solar_coordinates.bas". It doesn't happen all the time and sometimes it will work just fine but often a program which wouldn't run can be made to work simply by giving it a short file name. The Launcher doesn't produce any error and says the file is transfered and backed up ok in the normal manner. Its intuitive at the moment that the filename is somehow involved as I can't pin it down to anything concrete but was wondering if anyone else had programs which are coded correctly but which won't run until the filename is shortened.
Post subject: Re: Effect of long filenames on program stability
Posted: Thu Aug 25, 2016 10:00 am
Joined: Tue Sep 13, 2011 4:58 am Posts: 720 Location: Sao Paulo, Brasil
Could be the use of the underline (_) instead? Unusual characters may lead to problem in some parts of Android system. Try solarcoordinates.bas instead, for example. I run into trouble by using vowels with accents (usual in latin languages).
_________________ Alfredo Peine
Hisense Sero 7 Pro (Tegra 3 7" rooted tablet - Android 4.4.4) / Moto G 3rd Gen (5" quad core rooted phone - Android 6.0).
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum