function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Integer i = 0; while(i < 100){ System.debug(i); i++; if(i == 41) i+=20; }
You can try below code once:
for(integer i=1;i<=100;i++)
{
if(i>=40 && i<=60)
{continue;}
else
{ system.debug(i);}
}
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
for(integer i=1;i<=100;i++) {
if(i<40 || i>60){
system.debug(i);
}
}