Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #11 (permalink)  
Old May 2nd, 2009, 12:16 PM
Authorized User
Join Date: Apr 2009
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts

GW-BASIC also has the BREAK and STOP and CONTINUE Commands.

I didn't interpret the Original Poster as wanting to use BREAK or STOP Commands in his VBScript Codes.

I think that he was using the BREAK and STOP Commands because he wanted to Press a Key to Break Out of a "For...Next" Loop; but, didn't know how to go about that using VBScript Coding.

You are right when you say that I am ingorant of Jscript; but then, I never did say that I was knowledgeable about non-GW-BASIC Computer Programming Languages.

I also don't think that the Original Poster wanted to loop a certain amount of times before being able to Break Out of the "For...Next" Loop.

I believe that he was wanting to Break Out of the "For...Next" Loop whether it looped just once; or, looped 18 times; or, some other out-of-the-hat number that is based on the whim of the Computer User.

Seriously...?Do you want the Computer to go through a particular Array List at X Amount Of Times every time you access that Array List?

?Won't there be times when you just want to access that Array List only once; then, be done with that list; instead of having to loop the X Amount Of Times That Is Hard Coded Into The Computer Program?

?What if the majority of times you access that particular Array List you want to repeatedly access that Array List without having to Re-Open that Computer Program everytime you want to access that particular Array List?

Last edited by Tandy1000SL GW-BASIC; May 2nd, 2009 at 12:23 PM..
Reply With Quote
  #12 (permalink)  
Old November 2nd, 2009, 02:29 AM
Authorized User
Join Date: Apr 2009
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts

GW-BASIC does have Commands like BREAK and PAUSE and STOP and CONTINUE; as well as, have access to the [PAUSE/BREAK] Key on Keyboards for ENDing a Program.

I generally don't like using [CONTROL] + [BREAK] because it "kills" the Program; thus, requiring you to reRUN the Program.

GW-BASIC has a KILL Command which removes a Program File from the Computer Memory; but, that's not what I meant in my previous statement.

My Programming Skill Level isn't sufficient enough for me to be Creating and RUNning Programs independent of IDEs for any Computer Programming Language: GW-BASIC; VBScript; Visual BASIC 2005 Express; Liberty BASIC; even, Game Maker.
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the Equivalent Syntax in VB.NET r_taduri VB.NET 2002/2003 Basics 1 June 2nd, 2006 12:49 PM
Unable to Break at Break point Girishbk VB.NET 2002/2003 Basics 0 January 18th, 2005 08:29 AM
VBScript error 0x800A03EA Syntax error edbkegan3 Classic ASP Databases 2 March 29th, 2004 01:57 PM
javascript equivalent lcsgeek Classic ASP Basics 0 September 22nd, 2003 07:17 AM
ASP Equivalent U.N.C.L.E. Classic ASP Basics 3 July 8th, 2003 03:05 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.