|
Post by crumpets on Jan 11, 2024 9:56:21 GMT
No GOSUB or RETURN support. That is a damn shame.
|
|
|
Post by anthonyrbrown on Jan 11, 2024 10:22:16 GMT
Well while you are getting going on Android you can download SmallBASIC from Google Play store (for free) and try some on-line samples on Android or Linux or Windows. A number of them are mine: View AttachmentView AttachmentView AttachmentI had a look at the SmallBASIC on my phone and to be honest it's a bit Basic! but interesting... So now I have a very! very! interesting idea,would it be possible to hack a version of QB64 ? so that when QB64 converts the code we write into C++ and then into a usable program,can we cut short the final part of the compile and output the C++ to a file ? Now if we can we can then use the C++ code to make Android programs as it's compatible,so it would then be a 1,2,3 ? step process to make Android programs,or is there another program that will do the same thing ?
|
|
|
Post by bplus on Jan 11, 2024 17:06:39 GMT
I am not tech guy nor much into hardware or even other PL's that much but I think someone said that when QB64 compiles a source .bas file it creates / translates code to C++ temp files. So you can have your C++ but can you eat it on Android? Haven't a clue. My point QB64 does translate your .bas to C++ code on the way to your .exe file.
|
|
|
Post by anthonyrbrown on Jan 11, 2024 17:42:07 GMT
So we both seem to know about the same about the possibility to convert BASIC to C++ and then to Android,but I am sure it's possible the more I look at it... I just found this... BaCon - BASIC to C converter www.basic-converter.orgI would love to know the main differences between C & C++ ?
|
|
|
Post by bplus on Jan 11, 2024 17:53:44 GMT
C came first by years and years!
|
|
|
Post by anthonyrbrown on Jan 11, 2024 18:15:23 GMT
For sure even I know that! so what about the code differences? I am guessing C will run in a C++ environment if that's the correct word,and C++ will not run in C ? Do you have any easy to grasp examples ?
|
|
|
Post by bplus on Jan 11, 2024 18:44:40 GMT
|
|
|
Post by anthonyrbrown on Jan 11, 2024 19:03:41 GMT
Now that's a Damn good great site I have never heard anything about! it's amazing in a short amount of time talking about a few different things what can turn up! It reminds of a time quite a long time ago I was asking for some advice about trying to do something in a QB64 program I was trying to make, and someone came onto a forum who I had never seen of read anything about,and I still can't remember his name anyway what he showed me changed my ability to make my programs like never! before...from that moment onwards I started to move mountains with my programs,it actually changed my life! I know that sounds extreme well I will explain I write Sports betting programs and because of what I had learnt from that Mystery guy who came onto the forum,I made a lot of money in the next coming years! and I still am
|
|
|
Post by bplus on Jan 12, 2024 20:42:13 GMT
Wow I am impressed with anyone who can make a few bucks from Basic programming!
|
|