Vanguard Software Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
Services From training to turnkey systems, our professional
services group is here to ensure your success.
Home > Services > Supporting Documents 1 >
Services
contents.gifindex.gifprev1.gifnext1.gif

Range

Format: x .. y

Arguments: [num] x Lower limit and optional second element

[num] y Upper limit and optional step size

Returns: [num] A list of numbers between x and y inclusive

Description: The Range operator produces a list of numbers. Normally, the numbers are sequential from x to y in steps of 1. You can specify a different step size in either one of two ways. First, by specifying a pattern to follow (e.g., [x1,x2]..xn); or second, by explicitly specifying a step size (e.g., x1..[xn,step]).

Examples: 1..5 = [1,2,3,4,5]

5..1 = [5,4,3,2,1]

[1,1.5]..3 = [1,1.5,2,2.5,3]

1..[3,0.5] = [1,1.5,2,2.5,3]

See Also: List Literal, makelist

Contact Us

Phone:  +1 919-859-4101
Web:  www.vanguardsw.com
Email:  info@vanguardsw.com

© 2008 Vanguard Software Corporation. All rights reserved.