-
-
Notifications
You must be signed in to change notification settings - Fork 46
Lists ko KR
생성된 2024-09-02 오후 10:46:49
버전: 4.425.19+0c26057dbb7e7e285dbbb7378d1639f9d9112e29
Translated by Mark Hunt & Andy H.
메서드 시그니처:
Void ClearList(System.String)
- listname: 리스트 이름.
설명:
목록에서 이름을 삭제합니다.
예시:
ClearList("list")
메서드 시그니처:
Void CreateList(System.String)
- listname: 리스트 이름.
설명:
이름으로 목록을 만듭니다. 목록이 이미 있으면 겹쳐 씁니다.
예시:
CreateList("list")
메서드 시그니처:
System.Object[] GetList(System.String)
- listname: 리스트 이름.
설명:
루프 등과 함께 사용하기 위해 목록에있는 모든 항목의 배열을 표시합니다.
예시:
GetList("list")
메서드 시그니처:
Boolean InList(System.String, System.Object)
- listname: 리스트 이름.
- value: 정수 값 - 사용 방법에 대한 설명을 보세요.
설명:
주어진 요소가 목록에 포함되어 있는지 확인합니다.
예시:
if InList("shmoo", 1):
메서드 시그니처:
Int32 List(System.String)
- listname: 리스트 이름.
설명:
리스트 내의 엔트리 수를 보여줍니다.
예시:
if List("list") < 5:
메서드 시그니처:
Boolean ListExists(System.String)
- listname: 리스트 이름.
설명:
리스트가 존재하면 true, 그렇지 않으면 false.
예시:
if ListExists("list"):
메서드 시그니처:
Int32 PopList(System.String, System.Object)
- listname: 리스트 이름.
- elementvalue: 매개변수_설명_요소값 전면과 후면. (옵션)
설명:
목록에서 요소(elements)를 제거하고 제거된 요소(elements) 수를 반환합니다
예시:
CreateList("hippies")
PushList("hippies", 1)
PushList("hippies", 2)
PushList("hippies", 3)
PopList("hippies", "front") # Removes 1
PopList("hippies", "back") # Removes 3
PopList("hippies", "2") # Removes any 2's that exist in the list
for x in GetList("hippies"):
print x # Never reached because list is empty
메서드 시그니처:
Void PushList(System.String, System.Object)
- listname: 리스트 이름.
- value: 정수 값 - 사용 방법에 대한 설명을 보세요.
설명:
목록의 끝을 보여주고, 목록이 없으면 목록을 만듭니다.
예시:
PushList("list", 1)
메서드 시그니처:
Void RemoveList(System.String)
- listname: 리스트 이름.
설명:
주어진 이름의 목록을 제거합니다.
예시:
RemoveList("list")