Try/Cond

Vance Shipley vances@REDACTED
Fri Oct 24 15:29:06 CEST 2003


last(List) ->
	B = list_to_binary(List),
	S = size(B) - 8,
	<<_:S, Last:8>> = B,
	Last.
	
                                                                         :)



More information about the erlang-questions mailing list