View Single Post
  #2 (permalink)  
Old April 17th, 2014, 06:22 PM
Tandy1000SL GW-BASIC Tandy1000SL GW-BASIC is offline
Authorized User
 
Join Date: Apr 2009
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I learned GW-BASIC back in the 1990s from the book "Learning BASIC For Tandy Computers".

It was easy to learn from; and, was easy to find the Section that had answers you have questions about.

I have "VBScript Third Edition". It isn't as easy to learn from, or to find the Section that has answers to your questions, like "Learning BASIC For Tandy Computers". But, that is true with all of the Y2K Programming Language Reference Books that I have.

Windows Programming is way more complicated that DOS Programming.

Although I can't do GW-BASIC style of Graphics Programming with Visual BASIC Script, Visual BASIC Script does have a lot of good features and capabilities that GW-BASIC lacks; although, my own Computer Programming Activities don't require most of them.

I have always put my Subroutines & Functions at the bottom as a habit from my GW-BASIC Programming; because, GW-BASIC used Command Line Numbering; and, had limited amount of Byte Space for Individual Programs; which, isn't true for Y2K+ Script Programming Languages.

Windows Script Host uses NotePad Files with the ".vbs" Extension. The ".vbs" Files can only be seen, and Saved, with the "All Files" Option selected.

Windows Script Host won't RUN a NotePad File with Text that has Bold Characters & Italics Characters & Underlined Character & Mixed Fonts.

TO EDIT A VISUAL BASIC SCRIPT FILE IN NOTEPAD
Right-Click on the Visual Basic Script File.
Select "Open with...".
Select "Windows NotePad".

TO RUN A VISUAL BASIC SCRIPT FILE IN WINDOWS SCRIPT HOST
Right-Click on the Visual BASIC File.
Select "Open with...".
Select "Windows Script Host".

"VBScript Third Edition" does have a Section devoted to HTML and Website usage. But, that is beyond my Computer Programming Activities scope & interest.

CHAPTER 19: HTML APPLICATIONS
CHAPTER 20: SERVER-SIDE WEB SCRIPTING
CHAPTER 21: ADDING VBSCRIPT TO YOUR VB AND .NET APPLICATIONS

To be able to write Visual BASIC Script Code sequences, you need to read CHAPTER 4: VARIABLES AND PROCEDURES and CHAPTER 5: CONTROL OF FLOW.

Chapter 1 and Chapter 3 just gave the basic understanding of what Visual BASIC Script Code looks like; so that, you can Read VBS Code.
Reply With Quote