GW Basic compiler
GW Basic compiler
(OP)
Hi Guys,
I am looking for a windows based BASIC compiler. I used to be good at programing in basic and also I have some design programs that I want to use now.
Thanks for any information.
I am looking for a windows based BASIC compiler. I used to be good at programing in basic and also I have some design programs that I want to use now.
Thanks for any information.





RE: GW Basic compiler
This came up #1. Looks like there'll be something there for you.
h
http://virtualpipeline.spaces.msn.com
RE: GW Basic compiler
My suggestion is to try using the Visual Basic for Applications (VBA) available in Microsoft Excel. If you are crunching numbers, Excel makes a new user interface: put your input data in the spreadsheet, then read it and work with it using VBA. You can report the results back to the spreadsheet or to a text file (you can even have Excel VBA open up the output file in Windows Notepad).
RE: GW Basic compiler
Nowadays, you have Excel, Mathcad, Matlab, etc. You can get public-licensed clone of Matlab for free, which does all the math and has some degree of user interface capability:
htt
For almost everything I'd done in the last 10 yrs, Excel, Mathcad, and Matlab pretty much covered.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: GW Basic compiler
Just do what TomBrash is telling you to do and you cannot go wrong.
Get a copy of MS Office and use MS Excel. VB (Visual BASIC) compiler is there for free.
Do regular spreadsheet work and when needed use VB. Even spreadsheet cells can take input date from given cells and present the output in another cell.
Programming will never go away.
Knowing how hard it used to be, it is unbelievable what is available today and how far you can go ...
What else can you ask for?
Thanks,
G. Feric, PE
http://engware.i-dentity.com
RE: GW Basic compiler
Cheers
Greg Locock
Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: GW Basic compiler
Unfortunately, as of now, QBasic programs do not run under Vista as is.
Thanks,
G. Feric, PE
http://engware.i-dentity.com
RE: GW Basic compiler
An alternative is VB Express, which is currently free:
http
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: GW Basic compiler
RE: GW Basic compiler
RE: GW Basic compiler
Yes, you are right.
It is an interpreter not a compiler for VB.
Thanks,
G. Feric, PE
http://engware.i-dentity.com
RE: GW Basic compiler
I use Excel spreadsheets for a lot, however I have never tried a macro or VBA. I used to use macros for Quattro Pro in my DOS days.
RE: GW Basic compiler
It is indeed compiled. The code is compiled and saved as part of the workbook. What distinguishes VBA from VB is that VBA needs a host application. As such it can not be run as a stand alone application like VB.
RE: GW Basic compiler
The VBA help files are generally useful, although the structure of the objects in VBA for Excel can be obscure, at times.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: GW Basic compiler
Excel VBA is fairly well documented in Excel VBA help which can be accessed from an Excel VBA code window (ALT-F11 from a spreadsheet) and MSDN has documentation currently here http:
Good Luck
johnwm
________________________________________________________
To get the best from these forums read FAQ731-376: Eng-Tips.com Forum Policies before posting
Steam Engine enthusiasts
Steam Engine Prints
RE: GW Basic compiler
E.g. QBASIC just screams on a modern computer, even a 'slow' one.
Those old programs that used to give you time to get coffee will finish before you can stand up.
Mike Halloran
Pembroke Pines, FL, USA
RE: GW Basic compiler
Change in the computer world is just amazing.
What used to take for ever, today it is done in a few seconds or even less ...
It is good to read posts from people who know more than I do and have been doing computer calculations for many, many years. It is always good to read such engineering and computer opinons and experiences.
I have to admit that every day I can learn and hear something new about computing and computers and the whole thing just keeps getting beter and better.
Thanks,
G. Feric, PE
http://engware.i-dentity.com
RE: GW Basic compiler
While it is not a traditional "compiled" language that goes to machine code, it does compile to a psuedocode that's similar to the basic infrastructure used in VC++ and VB.
However, the psuedocode is itself interpreted in Excel, so for VBA, it's still an interpreted result.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: GW Basic compiler
What is the best way to teach this old dog, (GWBASIC programmer) to lear and use the VB in excell. I have been told that all the calculations I want to do, can be done in excell.
Where do I start?
regards,
RE: GW Basic compiler
I've bought MANY VBA books, but the end result is that I always record some kernel of code and then use the VBA help files for the rest.
And bear in mind that the basic structure of VBA is still BASIC. The only annoyance is the object structure that you have to slog through to reference things on the worksheet.
The following isn't terribly relevant, but it shows flow of the program and the ability to reference MS Word documents and copying stuff and pasting back into Excel
CODE
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dim ColIndex, RowIndex, StartRow, Done
Dim FileName, SheetName
Dim WordApp As Object
Dim Trans As String
Set WordApp = GetObject(, "word.application")
FileName = ActiveWorkbook.Name
SheetName = ActiveSheet.Name
Sheets(SheetName).Select
Done = False
ColIndex = ActiveCell.Column
RowIndex = ActiveCell.Row
StartRow = RowIndex
Cells(RowIndex, ColIndex).Select
With WordApp.Selection.Find
.Text = "transmittance ="
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
For Index = 1 To 25
WordApp.Selection.Find.ClearFormatting
WordApp.Selection.Find.Execute
WordApp.Selection.MoveRight unit:=wdCharacter, Count:=1
WordApp.Selection.MoveRight unit:=wdSentence, Count:=1, Extend:=wdExtend
' WordApp.Selection.Copy
Trans = WordApp.Selection.Text
WordApp.Selection.MoveDown unit:=wdLine
Cells(RowIndex, ColIndex).Select
' ActiveSheet.Paste
ActiveCell.Formula = Trans
RowIndex = RowIndex + 1
Next
Cells(StartRow, ColIndex).Select
End Sub
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: GW Basic compiler
It's free.
http://www.ionicwind.com
Software For Metalworking
http://mrainey.freeservers.com
RE: GW Basic compiler
RE: GW Basic compiler
RE: GW Basic compiler
As long as you work with Microsoft applications, the source code will always be upgradable.
Current EXE may not work, but source code can always be pulled in the latest and the greatest version of the application.
I work with MS Office Suite applications.
From my experience, 32 bit applications will run under Vista. 16 bit appllications have a question mark in terms of the compatibility with Vista.
The best thing is to do a test on a Vista PC.
Thanks,
G. Feric, PE
http://engware.i-dentity.com
RE: GW Basic compiler
It runs circles around Visual Basic for anything that is number intensive. Works in Windows XP
They still make a version of it - for Windows. Not sure of the speed. You might be able to get an old copy from somewhere. Best BASIC I ever used.....for crunching numbers.
RE: GW Basic compiler
RE: GW Basic compiler
Cheers
Greg Locock
Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: GW Basic compiler
basic programs on my XP. Do not know where I acquired it from but it is identified from Tandy in the description
when it opens. Maybe it has the dos kernel embedded in it.
The properties says it will run on Win95.
RE: GW Basic compiler
Do this:
1. Start a blank MS Excel file
2. Press Alt+F11 to start VBA windows.
3. On menu, choose Insert/Module
4. In the blank module window, type this:
sub myFirstProg()
msgbox "Hello, I am your first program"
cells(2,1).value=444444444
end sub
5. Press the play button to run it.
6. If it works, and you really like it, go and buy a book "vba programming for excel"-J walkenbach(?)
7. I am thankful I discovered it by accident.
RE: GW Basic compiler
Mike Halloran
Pembroke Pines, FL, USA
RE: GW Basic compiler
RE: GW Basic compiler
RE: GW Basic compiler