Measures Concepts
GitHub icon

Range Operator

Range Operator - language feature

< >
Example from Perl:
# https://users.cs.cf.ac.uk/Dave.Marshall/PERL/node38.html @array = (1..10);
Example from Ruby:
(3...6)
Example from Elixir:
1..3

Languages with Range Operator include Perl, Ruby, Haskell, Elixir

This question asks: Does the language have a syntax for creating ranges?

Read more about Range Operator on the web: 1.

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout