Quick Basic
- KatrynKat
- Insane in the Membrane
- Posts: 24490
- Joined: 18 Jul 2010, 17:42
- Location: In my BDSM dungeon - aka Lockdown
Quick Basic
Do not laugh!
I have this model that I will be using for my project... It was written in VBasic, I think, but it says that it is a Quick Basic program. This model was written in 1989 (I kid you not) and is over 1000 lines long (printing it takes 20 pages).
So, I need help in trying to first understand this language and secondly to rewrite the model into a language that I understand, namely FORTRAN.
Any help would be appreciated be it on the programming language itself or on getting a program that will compile and run this model as it stands just so that I can see how the output looks.
This is for my masters, albeit I don't need to use the model now as the research proposal must be handed in first, but this project will be spanning over the next 2 years.
Thanks in advanced...
KK
I have this model that I will be using for my project... It was written in VBasic, I think, but it says that it is a Quick Basic program. This model was written in 1989 (I kid you not) and is over 1000 lines long (printing it takes 20 pages).
So, I need help in trying to first understand this language and secondly to rewrite the model into a language that I understand, namely FORTRAN.
Any help would be appreciated be it on the programming language itself or on getting a program that will compile and run this model as it stands just so that I can see how the output looks.
This is for my masters, albeit I don't need to use the model now as the research proposal must be handed in first, but this project will be spanning over the next 2 years.
Thanks in advanced...
KK
"This eBook is displayed using 100% recycled electrons."
- Tribble
- Registered User
- Posts: 88465
- Joined: 08 Feb 2007, 02:00
- Processor: Intel Core i7-4770K CPU@3.50GHz
- Motherboard: ACPI x64-based PC
- Graphics card: GeForce GTX 780 Ti
- Memory: 16GB
- Location: Not here
- Contact:
Re: Quick Basic
It would help to see a bit of the code in question. Been a while since I did QBasic .....
-
- Registered User
- Posts: 20576
- Joined: 19 Sep 2003, 02:00
- Location: Bloodbank
- Tribble
- Registered User
- Posts: 88465
- Joined: 08 Feb 2007, 02:00
- Processor: Intel Core i7-4770K CPU@3.50GHz
- Motherboard: ACPI x64-based PC
- Graphics card: GeForce GTX 780 Ti
- Memory: 16GB
- Location: Not here
- Contact:
Re: Quick Basic
I know that but they were both Dos based basic languages - yes there are differences
Not that I can help her either - I am just curious as to what the code does. That much I could work out. I know nothing about Fortran though - other than it exists.
If it helps - I played with Quick Basic too - just not as much.While QBASIC is shareware, QuickBasic is commercial software. Compared to QuickBasic, QBASIC is limited as it lacks a few functions. QBASIC can only handle programs of a limited size, it lacks support for separate QuickLibrary modules other than the standard QB.QLB, and it is a program interpreter only. (It can execute raw source code, but it cannot be used to produce executable files directly.)
Not that I can help her either - I am just curious as to what the code does. That much I could work out. I know nothing about Fortran though - other than it exists.
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: Quick Basic
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 20576
- Joined: 19 Sep 2003, 02:00
- Location: Bloodbank
Re: Quick Basic
Depending on what the model does we might try handing KK a C# manual or two
If she is very lucky we will ask her to redo the model in Malbolge
If she is very lucky we will ask her to redo the model in Malbolge
- Spoiler (show)
- KatrynKat
- Insane in the Membrane
- Posts: 24490
- Joined: 18 Jul 2010, 17:42
- Location: In my BDSM dungeon - aka Lockdown
Re: Quick Basic
as soon as i get the model electronically i will post a piece of it...
@RRF: the model calculates the dry matter production of grass...
and no way am i learning that language...
i will rewrite the model in Fortran and C#... but that's it!
@RRF: the model calculates the dry matter production of grass...
and no way am i learning that language...
i will rewrite the model in Fortran and C#... but that's it!
"This eBook is displayed using 100% recycled electrons."
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: Quick Basic
I was going to ask why you don't rewrite it in a modern language. Matlab?KatrynKat wrote: i will rewrite the model in Fortran and C#... but that's it!
If I weren't insane: I couldn't be so brilliant! - The Joker
- KatrynKat
- Insane in the Membrane
- Posts: 24490
- Joined: 18 Jul 2010, 17:42
- Location: In my BDSM dungeon - aka Lockdown
Re: Quick Basic
when trying to run it, it brings up an error that the version of windows or whatever doesn't agree with it...Bladerunner wrote:http://www.qbcafe.net/en/qbasic-downloa ... mpiler.htm
but thanks anyway...
i don't know Matlab...
and would prefer to work with a language that i have a basic knowledge of, not a new language...
"This eBook is displayed using 100% recycled electrons."
-
- Registered User
- Posts: 20576
- Joined: 19 Sep 2003, 02:00
- Location: Bloodbank
Re: Quick Basic
KK you might want to start reading....
http://www.csharp-station.com/Tutorial.aspx
http://www.csharp-station.com/Tutorial.aspx
- Spoiler (show)
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: Quick Basic
Run it in dosbox.KatrynKat wrote:when trying to run it, it brings up an error that the version of windows or whatever doesn't agree with it...Bladerunner wrote:http://www.qbcafe.net/en/qbasic-downloa ... mpiler.htm
but thanks anyway...
i don't know Matlab...
and would prefer to work with a language that i have a basic knowledge of, not a new language...
If I weren't insane: I couldn't be so brilliant! - The Joker
- Ron2K
- Forum Technical Administrator
- Posts: 9050
- Joined: 04 Jul 2006, 16:45
- Location: Upper Hutt, New Zealand
- Contact:
Re: Quick Basic
What's wrong with learning a new language? To quote a friend of mine: "A programmer with only one language at his disposal is like a builder with only one tool. You need both a hammer and a screwdriver to do most things worth doing."KatrynKat wrote:i don't know Matlab...
and would prefer to work with a language that i have a basic knowledge of, not a new language...
Kia kaha, Kia māia, Kia manawanui.
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: Quick Basic
As I told KK in a PM, a language like Matlab is perfect for the job. It's multiplatform and easy to understand. It's a simple script instead of an application. Fortran or BASIC is outdated and C# is overkill and restricts her application to Windows and .NET.Ron2K wrote:To quote a friend of mine: "A programmer with only one language at his disposal is like a builder with only one tool. You need both a hammer and a screwdriver to do most things worth doing."
You have 2 years to do it; you said you'd be taking a course in Matlab sometime, so why not?
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 20576
- Joined: 19 Sep 2003, 02:00
- Location: Bloodbank
Re: Quick Basic
But C/C++ is both the hammer and a screwdriver all rolled into one...Ron2K wrote:What's wrong with learning a new language? To quote a friend of mine: "A programmer with only one language at his disposal is like a builder with only one tool. You need both a hammer and a screwdriver to do most things worth doing."KatrynKat wrote:i don't know Matlab...
and would prefer to work with a language that i have a basic knowledge of, not a new language...
- Spoiler (show)
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: Quick Basic
Also try these:KatrynKat wrote: Any help would be appreciated be it on the programming language itself or on getting a program that will compile and run this model as it stands just so that I can see how the output looks.
http://www.qbcafe.net/en/qbasic-downloa ... mpiler.htm
If I weren't insane: I couldn't be so brilliant! - The Joker
- KatrynKat
- Insane in the Membrane
- Posts: 24490
- Joined: 18 Jul 2010, 17:42
- Location: In my BDSM dungeon - aka Lockdown
Re: Quick Basic
err.... dosbox?
it's not my livelihood...
so, me knowing Fortran, C# and VB means that i can get into so many overseas jobs... and that's it.
@Blade: you might think that Fortran is outdated, but it is the language of many many atmospheric scientists all over the world... me knowing it means that i have a better chance at getting a job... the big companies look for people with the skills in Fortran and C# or VB...
so leave Fortran...
i will learn Matlab when the time comes, but not now...
for now i have to try to understand this model in order to be able to rewrite into a language that i understand...
i'm not a programmer...Ron2K wrote:What's wrong with learning a new language?
it's not my livelihood...
so, me knowing Fortran, C# and VB means that i can get into so many overseas jobs... and that's it.
@Blade: you might think that Fortran is outdated, but it is the language of many many atmospheric scientists all over the world... me knowing it means that i have a better chance at getting a job... the big companies look for people with the skills in Fortran and C# or VB...
so leave Fortran...
i will learn Matlab when the time comes, but not now...
for now i have to try to understand this model in order to be able to rewrite into a language that i understand...
"This eBook is displayed using 100% recycled electrons."
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: Quick Basic
Fortran is fairly dated. Its persistent use in a few disciplines, one of which happens to be yours, does not mean it is the right tool for THIS specific job.KatrynKat wrote: @Blade: you might think that Fortran is outdated, but it is the language of many many atmospheric scientists all over the world...
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 20576
- Joined: 19 Sep 2003, 02:00
- Location: Bloodbank
Re: Quick Basic
If it helps you get a job it is the right tool for the jobBladerunner wrote:Fortran is fairly dated. Its persistent use in a few disciplines, one of which happens to be yours, does not mean it is the right tool for THIS specific job.KatrynKat wrote: @Blade: you might think that Fortran is outdated, but it is the language of many many atmospheric scientists all over the world...
Also they develop in very specific environments and they don't have needs of cross platform capabilities.
- Spoiler (show)