Questions Concepts
GitHub icon

Range Operator

Range Operator - language feature

< >
Example from Perl:
# @array = (1..10);
Example from Ruby:
Example from Elixir:

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 Traffic Traffic Today Day 305 Logout