You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Yes, you are right. testcode2.txt works and testcode.txt also works but prints to stdout instead ? or print. Just change stdout to ? or print as you did. Thanks for pointing that.
I also corrected the compiled demo help menu showing an empty black box, it works now, a text file was missing in the zip file.
Thank you for posting your scripting engine. I love these types of apps. Hope you continue to work on it - functions (and optionally subs) would be great. One comment - I would make the numbers all double instead of singles - the extra precision is important in many apps your SE engine could be glued to.
Jim Klutho
Last edited by james klutho; 11 Nov 2007, 08:18 PM.
After a quick source review, I think you could simply text replace all "SINGLE" words by "DOUBLE" or "EXT" to have more precision, not tested but it should work.
About functions and subs, I wrote that, but honestly, that code ended being so ugly and little eficient that I prefered to not post it yet.
I wish I had more time for writing this kind of things, I really enjoy it.
Thank you for posting your scripting engine. I love these types of apps. Hope you continue to work on it - functions (and optionally subs) would be great. One comment - I would make the numbers all double instead of singles - the extra precision is important in many apps your SE engine could be glued to.
I know scriptbasic, a great tool, I also used LUA another great script engine.
But no other script engine would give me something this one would: lots of fun writing it
Gus,
Thanks for the link to the discussion portion of your project.
I'm doing the ScriptBasic open source project management for pretty much the same reasons. (and use it for all my current web application development projects)
I think there was a PowerBASIC interpreter that source was availabe for but I can remember it's wierd name. Maybe you could find some funtionality in that code that would fill holes in your current project.
For those interested in parsing engine, BINT32 (Basic Interpreter DLL lib) is available with full Power Basic sources and examples here: http://www.thinbasic.com/index.php?o...cman&Itemid=66 under "Free software from thinBasic authors" section.
Attention: BINT32 is NOT anymore maintained and supported.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment