English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
يحوّل id العمليه إلى قائمة.
Pid_to_list(processid)
processid −هذا هو id العمليه الذي يجب تحويله إلى قائمة.
من id العمليه إلى القائمة.
-module(helloworld). -export([start/0, call/2]). call(Arg1, Arg2) -> io:format("~p ~p~n", [Arg1, Arg2]). start() -> Pid = spawn(?MODULE, call, ["hello", "process"]), io:fwrite("~p~n",[pid_to_list(Pid)]).
عندما ن�ّر البرنامج أعلاه، سنحصل على النتيجة التالية.
"<0.55.0>" "hello" "process"