Home / Microsoft / Microsoft DOS / DOS Batch File - Incrementing in Loops
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: 1 [2]  All - (Bottom) Print
Author Topic: DOS Batch File - Incrementing in Loops  (Read 19256 times)
Woofy613
Topic Starter
Greenhorn



Posts: 8


« Reply #15 on: September 17, 2008, 05:41:50 PM »

Dias -

Thank you.  I appreciate your comment.  However ....

Eventually my programs will be ported to UNIX and I need to be able to develop them in DOS so that I can port. Qbasic is a Microsoft Language, that does not exist in UNIX.

If I could rely on your expertise, to "think outside of the box", it would be appreciated.  In other words, lets see if we can think in an innovative way to solve this.

Does anybody else on this forum have any ideas??

Thanks again.
IP logged
thenomad
Starter



Posts: 3


« Reply #16 on: October 07, 2008, 09:28:59 PM »

if this is going to be proted to unix, why not transfer the files into unix environment and make use of unix utilities like integer arithmetic at the ksh prompt. What you are trying to do seems to be impossible in the pure dos environment unless you can find a dos command line calculator to give you increments.

qbasic, along with being from microsoft, is pretty benign language and very easy to comprehend. I believe there are even some free basic interpreters which can use the qbasic code with little to no modification. so learning it would not be so bad of an idea. If you have the basic understanding of programming languages, you are more than half way thru anyways.

good luck
IP logged
Pages: 1 [2]  All - (Top) Print 
Home / Microsoft / Microsoft DOS / DOS Batch File - Incrementing in Loops « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.102 seconds with 19 queries.