** 참고 URL : https://docs.uipath.com/studio/docs/the-while-activity

 

The While Activity

The While activity enables you to execute a specific process repeatedly, while a specific condition is met. The main difference between this and the Do While activity is that, in the first one, the condition is evaluated before the body of the loop is exec

docs.uipath.com

 

사용 할 while 액티비티들은 다른 랭귀지에서 사용하는 while의 사용법과 동일하다!

for문 못사용하겠고.. 자신 없을때.. while문이 참 용이하닷

근데 for문을 잘 쓰는게 정말 중요하닷 ㅠㅠ

 

 

① while : 처음 조건을 확인하고 구문 반복 실행

count 가 9까지만 돌고, 10일때는 못한다.

 

② Do while : 구문 반복 실행 후 조건 확인

count 가 10까지 돌고 while문을 탈출한다.

 

+ Recent posts