Erlang – ports
In this guide, we will discuss Erlang Ports. Returns a list of all ports on the local node. Syntax ports() Parameters None Return Value Returns a list of all ports…
In this guide, we will discuss Erlang Ports. Returns a list of all ports on the local node. Syntax ports() Parameters None Return Value Returns a list of all ports…
In this guide, we will discuss Erlang now. This method returns the tuple {MegaSecs, Secs, MicroSecs} which is the elapsed time since 00:00 GMT, January 1, 1970. Syntax now() Parameters…
In this guide, we will discuss Erlang Memory. Returns a list containing information about memory dynamically allocated by the Erlang emulator. Each element of the list is a tuple {Type,…
In this guide, we will discuss Erlang localtime. The method is used to give the local date and time in the system. Syntax localtime() Parameters None Return Value The method…
In this guide, we will discuss Erlang Put. This method is used to put a key, value pair in the process dictionary. Syntax put(key,value) Parameters key − The key which needs to be…
In this guide, we will discuss Erlang get. The method returns the process dictionary as a list. Syntax get() Parameters None Return Value The method returns the process dictionary as…
In this guide, we will discuss Erlang float. This method returns the float value of a particular number. Syntax float(number) Parameters number − This is the number which needs to be…
In this guide, we will discuss Erlang element. The method returns the Nth element in the tuple. Syntax element(N,Tuple) Parameters N − The position in the tuple which needs to be returned.Tuple −…
In this guide, we will discuss Erlang byte_size. This method returns the number of bytes contained in a Bitstring. Syntax byte_size(bitstring) Parameters bitstring − This is the btistring for which the number…
In this guide, we will discuss Erlang date. This method returns the current system date. Syntax date() Parameters None Return Value The current date is returned as a list. For…