Raised This Month: $51 Target: $400
 12% 

Solved loop entitys


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MrPickles
Senior Member
Join Date: Aug 2022
Location: Colombia
Old 11-16-2022 , 22:04   Re: loop entitys
Reply With Quote #10

Quote:
Originally Posted by Celena Luna View Post
IT-CALLED-ONLY-ONCE when the function is called.
You making a comparation between a loop run for 100 times and a loop run for 4 times and 1 variable
I think I have shown you with the images that it is not checking 100 times, it is checking if the value is 100, otherwise 100 prints would come out before the print "end of loop" anyway, I think you didn't end up understanding

Here are the images again so you can see that it does not check 100 times

removeTransEnts( Client, {2,8,15,100} );

3 prints(2,8,15) => end of the loop( the 100 is the trigger for end the loop )

https://ibb.co/5skxXMd

and I'm doing a single loop, I don't know where you got it, I'm doing 2, I'm increasing the value of the cells, and when the loop ends, it is because IN ONE OF THOSE CELLS it contains the value 100

you are inventing a problem where there is none, the way I did it is the most effective without extra variables

Last edited by MrPickles; 11-16-2022 at 22:12.
MrPickles is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode