Lasso Soft Inc. > Home

[ generateSeries ]

Method

A generateSeries object is created automatically when using the "X to Y by Z" syntax. This object can use used in a query expressioin.

  • Syntax
  • Methods
  • Traits
No syntax description available at this time.
Has methods:
  • generateSeries->oncreate(FROM, to, by = ?)
  • generateSeries->by()
  • generateSeries->by=(by)
  • generateSeries->FROM()
  • generateSeries->from=(FROM)
  • generateSeries->init()
  • generateSeries->init=(init)
  • generateSeries->to()
  • generateSeries->to=(to)
  • generateSeries->forEach()
Examples
  • Beginner

Code

with n in 1 to 10
select #n

Result

1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Code

witn n in 10 to 1 by -1
select #n

Result

10, 9, 8, 7, 6, 5, 4, 3, 2, 1

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft