Tutorial by Topics: ons

ParameterDetailsRETURNSSpecifies the data type that can be returned from a function.RETURNActual variable or value following the RETURN syntax is what is returned to where the function was called from. A stored routine is either a procedure or a function. A procedure is invoked using a CALL st...
A set contains only one copy of each distinct element. Unlike some other programming languages, base R does not have a dedicated data type for sets. Instead, R treats a vector like a set by taking only its distinct elements. This applies to the set operators, setdiff, intersect, union, setequal an...
'() → () '(1 2 3 4 5) → (1 2 3 4 5) '(1 foo 2 bar 3) → (1 'foo 2 'bar 3) (list 1 2 3 4 5) → (1 2 3 4 5) (list* [1 2 3 4 5]) → (1 2 3 4 5) [] → [] [1 2 3 4 5] → [1 2 3 4 5] (vector 1 2 3 4 5) → [1 2 3 4 5] (vec '(1 2 3 4 5)) → [1 2 3 4 5] {} => {} {:keyA 1 :keyB 2} → {:keyA 1 :keyB 2} ...
NameDescriptionASCII()Return numeric value of left-most characterBIN()Return a string containing binary representation of a numberBIT_LENGTH()Return length of argument in bitsCHAR()Return the character for each integer passedCHAR_LENGTH()Return number of characters in argumentCHARACTER_LENGTH()Syno...
Magic constants are distinguished by their __CONSTANTNAME__ form. There are currently eight magical constants that change depending on where they are used. For example, the value of __LINE__depends on the line that it's used on in your script. These special constants are case-insensitive and are...
Approach with sealed trait and case objects is preferred because Scala enumeration has a few problems: Enumerations have the same type after erasure. Compiler doesn't complain about “Match is not exhaustive", if case is missed it will fail in runtime scala.MatchError: def isWeekendWith...
Android Marshmallow introduced Runtime Permission model. Permissions are categorized into two categories i.e. Normal and Dangerous Permissions. where dangerous permissions are now granted by the user at run time. From sdk 23 Android requires runtime permissions for permissions on devices runni...
A set is a collection of items which can be anything. Whatever operator we need to work on these sets are in short the set operators and the operation is also known as set operation. Basic set operation includes Union, Intersection as well as addition, subtraction, etc. Group-Object Gr...
Reading Text files and performing operations on them.
A function is basically a named block of code. When you call the function name, the script block within that function runs. It is a list of PowerShell statements that has a name that you assign. When you run a function, you type the function name.It is a method of saving time when tackling repetitiv...
This extension filters data by either validating or sanitizing it. This is especially useful when the data source contains unknown (or foreign) data, like user supplied input. For example, this data may come from an HTML form. mixed filter_var ( mixed $variable [, int $filter = FILTER_DEFAULT ...
Regular Expressions (sometimes called regexs or regexps) are a textual syntax which represents the patterns which can be matched in the strings operated upon. Regular Expressions, introduced in c++11, may optionally support a return array of matched strings or another textual syntax defining how to...
define ( string $name , mixed $value [, bool $case_insensitive = false ] ) const CONSTANT_NAME = VALUE; Constants are used to store the values that are not supposed to be changed later. They also are often used to store the configuration parameters especially those which define the environ...

Page 5 of 31