comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: while loop crashes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: while loop crashes [message #71141 is a reply to message #71140] Tue, 01 June 2010 12:49 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/1/10 4:18 AM, Spon wrote:
> I've always wondered why people even use batch mode, when procedures
> and functions are almost as easy to write. What is the advantage of
> batch mode?

I think batch files have very special purpose uses:

1. You can include code into multiple function/procedure using batch
files, e.g., error handling code that would normally be copy-and-pasted
into many routines.

2. To make a build script callable from the main-level since you can
put executive statements from batch files that are called from the
main-level.

Any other uses for batch files? I go with main-level programs for a lot
of simple/throw-away script stuff (since I can make it into a
function/procedure fairly easily if I don't actually throw it away).

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to set the multiple xaxis labels
Next Topic: A Contour Tracking Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:52:15 PDT 2025

Total time taken to generate the page: 0.00557 seconds