Erlang – If statement
In this guide, we will discuss If statement in Erlang. The first decision making statement we will look at is the ‘if’ statement. The general form of this statement in…
In this guide, we will discuss If statement in Erlang. The first decision making statement we will look at is the ‘if’ statement. The general form of this statement in…
Decision making structures requires that the programmer should specify one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed…
In this guide, we will discuss Loops in Erlang. Erlang is a functional programming language and what needs to be remembered about all functional programming languages is that they don’t…
Following are the bitwise operators available in Erlang. Sr.No.Operator & Description1bandThis is the bitwise “and” operator2borThis is the bitwise “or” operator3bxorThis is the bitwise “xor” or Exclusive or operator4notThis is…
Following are the logical operators available in Erlang. OperatorDescriptionExampleorThis is the logical “and” operatortrue or true will give trueandThis is the logical “or” operatorTrue and false will give falsenotThis is…
Following are the relational operators available in Erlang. OperatorDescriptionExample==Tests the equality between two objects2 = 2 will give true/=Tests the difference between two objects3 /= 2 will give true<Checks to…
Following are the Arithmetic operators available in Erlang. OperatorDescriptionExample+Addition of two operands1 + 2 will give 3−Subtracts second operand from the first1 - 2 will give -1*Multiplication of both operands2…
Here we will discuss Operators in Erlang. An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. Erlang has the following type of operators…
Here we will discuss Variables in Erlang. In Erlang, all the variables are bound with the ‘=’ statement. All variables need to start with the upper case character. In other…
Here we will discuss Data Types in Erlang. In any programming language, you need to use several variables to store various types of information. Variables are nothing but reserved memory…