difference between forever block and forever IF block
Answers
Answered by
10
Answer:
Explanation:
Forever block executes when the green flag is killed and doesn't stop.
Forever if block executes only if the condition is true and stops if the condition is false.
Answered by
7
Forever block and forever if block:
• Forever block recaps one or more blocks in a loop. Forever means the loop will never end.
• In forever if block, the block would uninterruptedly check its Boolean condition. If the condition is true, the code held inside the block would run, and then the script lasts, but if the condition is false, nothing would occur until it becomes true again.
Hope it helped...
Similar questions
Political Science,
5 months ago
Economy,
5 months ago
Hindi,
5 months ago
Math,
10 months ago
Chemistry,
10 months ago
CBSE BOARD X,
1 year ago
Biology,
1 year ago