Release Version
From Erlang Community
(Difference between revisions)
| Revision as of 12:16, 28 July 2007 (edit) Rk (Talk | contribs) (Find the Version/Release of Erlang.) ← Previous diff |
Current revision (13:12, 29 July 2007) (edit) (undo) Rk (Talk | contribs) (Added an FAQ link and improved the wording.) |
||
| Line 1: | Line 1: | ||
| == Problem == | == Problem == | ||
| - | Identify which version of Erlang you are | + | Identify which version of the Erlang runtime system you are using and which Release you have installed. |
| == Solution == | == Solution == | ||
| - | You | + | You will find [http://www.erlang.org/faq/faq.html#AEN235 What's the current version?] and [http://www.erlang.org/faq/faq.html#AEN897 Which version am I running?] in the Erlang FAQ helpful. |
| - | These | + | These functions are relevant : |
| <code> | <code> | ||
| erlang:system_info(version). | erlang:system_info(version). | ||
| "5.5" | "5.5" | ||
| - | % This is the erts (Erlang Run-Time System) version which | + | % This is the erts (Erlang Run-Time System) version which |
| - | % also visible in the banner when you run erl. | + | % is also visible in the banner when you run erl. |
| </code> | </code> | ||
Current revision
[edit] Problem
Identify which version of the Erlang runtime system you are using and which Release you have installed.
[edit] Solution
You will find What's the current version? and Which version am I running? in the Erlang FAQ helpful.
These functions are relevant :
erlang:system_info(version). "5.5" % This is the erts (Erlang Run-Time System) version which % is also visible in the banner when you run erl. |
init:script_id().
{"OTP APN 181 01","R11B"}
% The major Release version shows above as "R11B".
|

Digg It
Del.icio.us
Reddit
Facebook
Stumble Upon
Technorati

