This language bar is your friend. Select your favorite languages!

Idiom #178 Check if point is inside rectangle

Set boolean b to true if if the point with coördinates (x,y) is inside the rectangle with coördinates (x1,y1,x2,y2) , or to false otherwise.
Describe if the edges are considered to be inside the rectangle.

#Edit dateEdit SummaryEditor
👁 Δ 3 2019-01-11, 16:57 New Ruby implementation by user [steenslag] steenslag
👁 Δ 2 2019-01-08, 17:34 [Pascal] Lowercase the identifiers Bart
1 2019-01-08, 17:25 Idiom creation by user [Bart] Bart