Difference between revisions of "Manuals/calci/INARRAY"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''INARRAY (Value,Array)'''</div><br/> *<math> From</math> is the starting number. ==Description== *This function is the tester function of with i...")
 
Line 1: Line 1:
<div style="font-size:30px">'''INARRAY (Value,Array)'''</div><br/>
+
=INARRAY (Value,Array)=
 +
 
 +
where
 +
 
 
*<math> From</math> is the starting number.
 
*<math> From</math> is the starting number.
 +
 +
INARRAY()  is the tester function of with in array values.
  
 
==Description==
 
==Description==
*This function is the tester function of with in array values.
+
 
*In <math>INARRAY (Value,Array)</math>,<math>Value</math> is the number to test and Array  is the set of array values.
+
INARRAY (Value,Array)
 +
 
 +
*<math>Value</math> is the number to test and Array  is the set of array values.
 
*This function will return the result as TRUE when the given value is with in given set of array values.
 
*This function will return the result as TRUE when the given value is with in given set of array values.
 
*Also will return the result as FALSE when the given value is not with in given set of array values.
 
*Also will return the result as FALSE when the given value is not with in given set of array values.

Revision as of 15:35, 4 January 2018

INARRAY (Value,Array)

where

  • is the starting number.

INARRAY() is the tester function of with in array values.

Description

INARRAY (Value,Array)

  • is the number to test and Array is the set of array values.
  • This function will return the result as TRUE when the given value is with in given set of array values.
  • Also will return the result as FALSE when the given value is not with in given set of array values.

See Also

  1. INARRAY(6,[1,6,10]) = true
  2. INARRAY(-5,[-1,-3,-5,-10]) = true
  3. INARRAY(4.2,[3.1,4.002,4.54,4.21]) = false
  4. INARRAY("a",["e","o","e","f"]) = false


Examples

References