|
Post by Pjot on Jul 31, 2013 20:15:01 GMT 1
All, The latest BaCon version 2.2.0 is ready for consumption and can be obtained from the BaCon website. Highlights: - FOR..IN..NEXT..STEP to walk through delimited strings
- Code improvements in BaCon and BaConGUI
- A lot of bugfixes and minor enhancements
These highlights may not seem very exciting, but after the major changes in the first 2.x release of April, the main focus now has been on stability. See the full list of changes for more details. BaCon releases are made available after testing on several platforms, including Tru64Unix, Solaris, MacOSX and Linux. Thanks to the BaCon community for notifying issues, reporting bugs and suggesting improvements. Special thanks go to vovchik, bigbass, alexfish, Peter Fedorow and Sunburnt. Without their hints and remarks BaCon would not be as it is now! Regards Peter
|
|
|
Post by konaexpress on Jul 31, 2013 20:18:07 GMT 1
So cool! Thanks Peter! ;D
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 1, 2013 0:02:06 GMT 1
It looks like BaCon and ScriptBasic are both at version 2.2.
@peter: Is there anyway going forward the ftw for RECURSIVE delete could be made an option? It would save me from having to remove it for the Android version of BaCon.
|
|
|
Post by Pjot on Aug 2, 2013 19:18:00 GMT 1
Well, I don't understand why Android does not have this standard ftw.h header file, as it is in POSIX 2001? Do you know what the reason is for this?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 2, 2013 21:16:07 GMT 1
No. There are a lot things about Android Linux that don't make sense. I just have to live with the rules and what I can find to fill the holes. It would be near impossible to add this support without rooting the device and rebuilding core libraries.
An optional inclusion in BaCon until this is resolved seems like the only solution for the moment. The other option is just ignore the request and I can continue to modify the BaCon source for Android.
Personally I like the idea of reading a directory and knowing what I'm deleting first. A blind recursive delete from a high level language seems out of place to me.
|
|
bige
Junior Member
When the shot counts...
Posts: 75
|
Post by bige on Aug 3, 2013 1:43:30 GMT 1
ok, totally newb question here, but... Before I fubar this thing any worse than it already is i wanna make sure..... To "update" to the 2.2, I just need to replace the BaCon.bac file i'm currently running with BaCon.bac version 2.2? Do I need to './BaCon.bac' it or can i just replace the file itself? Yea, I should *key word* know this, but at this point i'm wondering If I ever learned any programming before LOL ;D thanks! E . [update] - ok, so answered my own question- sorta..... when I try bacon BaCon.bac, it annot parse line 40 ; 'EPRINT "System..." '. So I assume I need to get the BASH version and re-bash it? Think I'll give it a try. E .
|
|
|
Post by konaexpress on Aug 3, 2013 3:53:06 GMT 1
Might as well get bacon.bash, bacon.bac and bacongui.bac ant do the whole thing.
|
|
bige
Junior Member
When the shot counts...
Posts: 75
|
Post by bige on Aug 3, 2013 4:38:25 GMT 1
yea, tried that, gots lotsa errors...maybe i need to 'uninstall' some things first - not sure what exactly. maybe rename the BaCon directory and start from scratch?
|
|
|
Post by konaexpress on Aug 3, 2013 4:51:15 GMT 1
Sure thing, just save your project files. It will go way faster if you do it from the command line. Took me a while to learn to do it that way. Sometimes it's nice to start from fresh if you know what I saying.
|
|
|
Post by Pjot on Aug 3, 2013 8:35:26 GMT 1
You can still do that, of course. Well, for a lot of languages the only option is recursively walk through each directory one-by-one and check each file, then delete it. I find this pretty tedious. If I want to delete a directory then I don't care what is in there - it should be deleted, just as I want it, and I don't want to see complaints from the OS or the programming language like it is unable to do so. In fact, this kind of delete actually *is* in place for a high-level language; it is out of place in case of a low-level language (like C), IMHO. Scriptbasic also has a DELTREE command, for example. Anyway, it is peculiar that the 'ftw.h' header file is available on all platforms including an ancient Unix like Tru64 but also on MacOSX and Cygwin. But not on Android? Maybe it hasn't this header file, but it does have the 'ftw' function itself in some other library (similar to the 'dlopen' function for example, which in case of Tru64 and BSD have available in libc, and not need the 'ld' library link)? BR, Peter
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 3, 2013 10:32:17 GMT 1
I found the ftw.h for android doing a search but adding it didn't help. The search.h file I found worked though. I don't see doves of users asking for BaCon for Android so I'll continue gutting the ftw stuff when I make a new build. DELTREE There goes my theory down the toilet.
|
|