ispan

Integer span function.


Synopsis

	function ispan(
		start[1]:integer,
		finish[1]:integer,
		stride[1]:integer
	)

Arguments

start
Single scalar integer value at which the span will start.
finish
Single scalar integer value at which the span will end.
stride
Positive single scalar integer which will be the spacing of the span.

Description

Computes a span of integer values beginning at start and ending at finish. Each element will be separated by the value of stride. The stride must be positive but start and finish can be any valid integers.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.5 $ $Date: 1998/06/15 21:29:59 $