Author Topic: Why FreeBASIC rocks your socks.  (Read 20374 times)

0 Members and 7 Guests are viewing this topic.

Offline coolsnake

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +2/-0
    • View Profile
Why FreeBASIC rocks your socks.
« on: September 02, 2010, 03:45:02 pm »
I've had a craving today for a programming language on the pc which is quite similar to TI-Basic.
This craving was mostly fueled by the BasiC++ project here on omnimaga.  :P

/Insert rant about how most programming languages are hard, either in use or in syntax.

This is something I created today in TI-Basic. It's a primitive fighting engine with you being the X and the enemy being the Z. If either of you punches your respective character changes to the theta symbol.


This is a direct port in FreeBASIC, a language which I understood in less than one day with the help of one tutorial and the command list.  ;D
 
Moral of the story, you know more of programming than you think + FreeBASIC is awesome. :P

also, port to axe^^
Unpretty Integrals
This program gives you a graphical representation of the "fnint(" function, which allows you to calculate definite integrals. It is extremely similar to the functionality MathPrint provides, minus the extreme bloat that slows your calculator down to a crawl.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Why FreeBASIC rocks your socks.
« Reply #1 on: September 02, 2010, 04:38:28 pm »
Sweet!  So it has many of the similar syntax and commands? Looks really nice :)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Why FreeBASIC rocks your socks.
« Reply #2 on: September 02, 2010, 05:22:45 pm »
That looks great! Really want to try it, but it's taking so long to install... :P
« Last Edit: September 02, 2010, 05:22:57 pm by Deep Thought »




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #3 on: September 02, 2010, 05:31:26 pm »
That looks really cool :) Where can you learn and such? I'll add it to my tutorial thread :D
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Why FreeBASIC rocks your socks.
« Reply #4 on: September 02, 2010, 05:32:24 pm »
It seems to run faster than TI-BASIC ;)




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #5 on: September 02, 2010, 05:46:05 pm »
I'm going to guess that's because it's a computer language ;)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Why FreeBASIC rocks your socks.
« Reply #6 on: September 02, 2010, 06:12:37 pm »
I wonder if it'll possible to add a language like BASIC to KOS (not exactly like TI-BASIC; something simple and fast).




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #7 on: September 02, 2010, 06:17:17 pm »
Well I think one of the big reasons TI-BASIC is so slow is because it parses as it runs. So if there was a good way to parse it first then execute or something it would not be as big of an issue.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Why FreeBASIC rocks your socks.
« Reply #8 on: September 02, 2010, 06:19:21 pm »
Well I think one of the big reasons TI-BASIC is so slow is because it parses as it runs. So if there was a good way to parse it first then execute or something it would not be as big of an issue.

Wow, the TI community has yet to come up with a working BASIC to ASM converter.




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #9 on: September 02, 2010, 06:20:51 pm »
People have tried but it's incredibly hard to do. I mean it's sorta like what Quigibo is doing with Axe except you have to take each command and match it up in assembly and ya. Well I think anyways. In short...its hard :P
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Why FreeBASIC rocks your socks.
« Reply #10 on: September 02, 2010, 06:27:34 pm »
...and an hour and a half later, FreeBASIC is 75% done installing :P




Offline miotatsu

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 332
  • Rating: +11/-1
    • View Profile
Re: Why FreeBASIC rocks your socks.
« Reply #11 on: September 02, 2010, 07:00:12 pm »
now I have an urge to work on BasiC++ :P

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Why FreeBASIC rocks your socks.
« Reply #12 on: September 02, 2010, 07:00:16 pm »
@DThought: I started installing this compile a few seconds ago. It's done now. :P
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #13 on: September 02, 2010, 07:02:44 pm »
now I have an urge to work on BasiC++ :P

What is the completion percentage of BasiC++ anyways?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Why FreeBASIC rocks your socks.
« Reply #14 on: September 02, 2010, 07:08:22 pm »
@DThought: I started installing this compile a few seconds ago. It's done now. :P

:( Two hours later, it's done. I hate Windows.

And meishe91, http://tinyurl.com/cxkn9u is the manual.