값설정 명령

GeoGebra Manual
Mathcare (토론 | 기여)님의 2020년 6월 29일 (월) 18:46 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
이동: 둘러보기, 검색
Accessories dictionary.png
이 페이지는 공식 매뉴얼에서 출력과 pdf를 위한 부분입니다. 일반 사용자들은 이 페이지를 편집할 수 없습니다. 만일 이 페이지에서 오류를 발견하였으면, 연락하여 주시기 바랍니다.사용자에 의해 편집 가능한 버전으로 이동
SetValue( <Boolean>, <0|1> )
Sets the state of a boolean / check box : 1 = true, 0 = false
예: If b is a boolean, SetValue(b,1) sets the boolean b as true.
SetValue( <Object>, <Object> )
LetA be the first and B the second object. If A is a free object or a Point restricted to Path or Region, its value is set to current value of B (i.e. A doesn't change value if B is changed afterwards).
예: If f is a function, SetValue(f, RandomElement({cos(x), 3x+2, ln(x)})) defines, at random, f as being one of the functions proposed in the list.


SetValue( <List>, <Number>, <Object> )
Let n be the <Number>. The command SetValue sets the n-th element of a free list to the current value of the object. Number n can be at most 1 + length of L.


SetValue( <drop-down list>, <Number n > )
Set n as the index of the selected element in the drop-down list.

값설정 명령

값설정[ <진리값>, <0|1> ]
진리값 또는 체크 상자의 상태를 설정 : 1 = true, 0 = false
예: 만일 b 가 진리값이면, 값설정[b,1] 은 진리값 btrue 으로 설정한다.
값설정[ <대상>, <대상> ]
AB 를 두 대상이라고 하자. 만일 A자유로운 대상 또는 이 restricted to 경로 또는 영역에 제한되면, 그 값은 B의 현재값으로 설정된다(즉, B 가 나중에 변경되면, A 의 값은 변하지 않는다).
예: 만일 f 가 함수일 때, 값설정[f, 랜덤원소[{cos(x), 3x+2, ln(x)}]] 는 임의로 f 를 리스트의 원소인 함수 가운데 하나로 정의한다.
값설정[ <리스트>, <수>, <대상> ]
n<수> 라고 하자. 값설정 명령은 대상의 현재값을 자유로운 리스트 L의 n 번째 원소로 설정한다. 수 n은 리스트 L의 길이보다 최대 1이 클 수 있다.
© 2024 International GeoGebra Institute