Top "Range" questions

A range is an extent of values between its lower and upper bound.

Detect if range is empty

I want to check if a range in Excel is empty. How do I write in VBA code: If Range("…

excel vba range
Is there a need for range(len(a))?

One frequently finds expressions of this type in python questions on SO. Either for just accessing all items of the …

python for-loop range
VBA paste range

I have simple goal of copying range and pasting it into another spreadsheet. The following code below gives copies, but …

excel vba range paste
How to check if an integer is within a range of numbers in PHP?

How can I check if a given number is within a range of numbers?

php range int
How does one make random number between range for arc4random_uniform()?

so my goal in this codebit is to randomly roll two dice and as we all know your regular die …

range swift arc4random
How can I generate a random number in a certain range?

How can I create an app that generates a random number in Android using Eclipse and then show the result …

android random numbers range generator
Java: random long number in 0 <= x < n range

Random class has a method to generate random int in a given range. For example: Random r = new Random(); int …

java random range long-integer
Generate random numbers using C++11 random library

As the title suggests, I am trying to figure out a way of generating random numbers using the new C++11 &…

c++ c++11 random range
How to check if an integer is within a range?

Is there a way to test a range without doing this redundant code: if ($int>$min && $int&…

php int range
Iterate a certain number of times without storing the iteration number anywhere

I was wondering if it is possible to perform a certain number of operations without storing the loop iteration number …

python loops range