
Not applicable
2015-11-16
03:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problem in Do..While...Loop
Dear Team,
i am using do while loop but its not working properly, condition is false then also its working.
please find attached image for same.
- Tags:
- do while loop
1 Solution
Accepted Solutions


Specialist
2015-11-16
03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 Replies


Specialist
2015-11-16
03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
Do while i<MonthDiff
and....
let i=i+1;

Partner - Champion III
2015-11-16
03:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The $-sign expansion is only done once for the script. So the logic at the DO WHILE will always be
1 < 11
Which will always be true and hence you get an infinite loop...
