aboutsummaryrefslogblamecommitdiffstats
path: root/lib/erl_docgen/doc/src/example.txt
blob: ad86165391b2b9ed4f7595c2bd56c525e4f33b6d (plain) (tree)
1
2
3
4


                                            
                 












                             
This example code is used in block_tags.xml.

%% Erlang example
-module(example).

start() ->
    {error,"Pid required!"}.

start(Pid) ->
    spawn(smalltalk,main,[]).
%% Erlang example

// A little C example
int main() {
  for(;;);
}
// A little C example