update
This commit is contained in:
parent
1f1ad49427
commit
6f050a029e
2496 changed files with 37609 additions and 3031 deletions
|
|
@ -1,5 +1,15 @@
|
|||
-module(scriptname).
|
||||
%% Compile
|
||||
%%
|
||||
%% erlc scriptname.erl
|
||||
%%
|
||||
%% Run
|
||||
%%
|
||||
%% erl -noshell -s scriptname
|
||||
|
||||
main(_) ->
|
||||
Program = ?FILE,
|
||||
io:format("Program: ~s~n", [Program]).
|
||||
-module(scriptname).
|
||||
-export([start/0]).
|
||||
|
||||
start() ->
|
||||
Program = ?FILE,
|
||||
io:format("Program: ~s~n", [Program]),
|
||||
init:stop().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue