English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
이 메서드는 목록 항목을 원자로 변환하는 데 사용됩니다.
list_to_atom(listvalue)
listvalue −이는 원자로 변환해야 할 리스트 값입니다.
리스트 값 입력에 기반한 원자.
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[list_to_atom("atom1")]).
위 프로그램의 출력은 다음과 같습니다.
atom1