node naming conventions

Håkan Stenholm <>
Fri Feb 7 06:35:10 CET 2003


On fredag, feb 7, 2003, at 05:51 Europe/Stockholm, Chris Wright wrote:

> a machine here is icu-21
>
> what's the right way to name a node on that machine
> (from joe's tutorial:
> 	db_nodes() ->
> 		[, ].

I guess they are atoms, so use single quotas:

['', '']

othervise it will presumably be interpreted as

['' - 21, '' - 21]

by the parser.

>
> gives an arithmetic error as it tries to perform icu - 21!)
>
> thanks!
>
> Chris
>




More information about the erlang-questions mailing list