FOR statement[′fȯr ‚stāt·mənt]
A statement in a computer program that is repeatedly executed a specified number of times, generally while a control variable takes on successive values over a specified range.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.
for statementA high-level programming language structure that repeats a series of instructions a specified number of times. It creates a loop that includes its own control information. The following BASIC and C examples print "Hello" 10 times:
BASIC C for x=1 to 10 for (x=0; x<10; x++) print "hello" printf ("hello\n"); next x
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.