본문 바로가기

inventor

ForEachNumberFromToBy [inventor007]

0~10 사이 짝수를 발생합니다.

다음과 같이 컴포넌트를 배치합니다.

수평레이아웃은 간격을 뛰우기 위해 사용합니다. 

 

블럭코드입니다.

결과는 0~10 사이 짝수 0,2,4,8,10이 출력되나 Label1에는 10만 나타납니다.

'inventor' 카테고리의 다른 글

ForEach~(3) [inventor009]  (0) 2022.09.28
ForEachNumberFromToBy (2) [inventor008]  (0) 2022.09.28
IfThenEseIf [inventor006]  (0) 2022.09.28
IfThenElse [inventor005]  (0) 2022.09.28
if then, random integer from ~to 이용 [inventor 004]  (0) 2022.09.27