comp.lang.ada
 help / color / mirror / Atom feed
* loop step function
@ 1997-01-24  0:00 Paul Van Bellinghen
  1997-01-25  0:00 ` Larry Kilgallen
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paul Van Bellinghen @ 1997-01-24  0:00 UTC (permalink / raw)



I'm fairly new to ADA. I have coded in PASCAL, FORTRAN, C, and assembly
and have found ADA to be similar to PASCAL but with stronger type
checking and with better organization and data hiding. Anyway, there
seems to be an obvious omission in the ADA language. The FOR loop does
not have a "STEP" option. In order to perform a loop function using a
variable's range of values but in steps greater than the variable
kernel, you seem to have to use a WHILE loop with the variable
incremented within the loop by the step size. Is there a more elegant
way of doing this?




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-01-30  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-24  0:00 loop step function Paul Van Bellinghen
1997-01-25  0:00 ` Larry Kilgallen
1997-01-29  0:00   ` Ted Dennison
1997-01-30  0:00     ` Robert Dewar
1997-01-25  0:00 ` Geert Bosch
1997-01-25  0:00 ` Matthew Heaney
1997-01-27  0:00   ` johnherro
1997-01-27  0:00     ` Michael Feldman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox