Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Do

A type of loop statement in programming that performs pre-defined tasks while or until a pre-determined condition is met. For example, in Perl you may use code similar to the below, which performs a do loop until the $count variable has reached the value of 10.

my $count = 0;
do {
  print "$count\n";
  $count++;
} until ($count >= 10);

Also see: For, Loop, Programming definitions, While

 

Index

Category:
Dictionary

Related Pages:
D - Definitions

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope