04-30-2013 09:28 AM - edited 04-30-2013 09:29 AM
@tst wrote:
Technically, it should probably be while(imstuck)... 😉
Or do you have a well defined iteration count on that? Maybe something like for(postcount=0,postcount<5000,postcount++){imstuck}? That's a bit of a mouthful...
Wire a -1 to the 'N' terminal, you'll run forever (this was brought to my attention on LAVA). In fact, I considered doing this with a conditional terminal in my code, just as my "signature"
04-30-2013 09:33 AM
@for(imstuck) wrote:
Wire a -1 to the 'N' terminal, you'll run forever (this was brought to my attention on LAVA). In fact, I considered doing this with a conditional terminal in my code, just as my "signature"
Sounds cool. Except my For Loop runs 0 times with a -1 on the N terminal
04-30-2013 10:13 AM - edited 04-30-2013 10:14 AM
@RavensFan wrote:
@for(imstuck) wrote:
Wire a -1 to the 'N' terminal, you'll run forever (this was brought to my attention on LAVA). In fact, I considered doing this with a conditional terminal in my code, just as my "signature"Sounds cool. Except my For Loop runs 0 times with a -1 on the N terminal
oh mannnnnnnnnnnnnnnnnnn You know what? Now that I think about it, I think I actually heard it from Ben not on LAVA! But, I obviously never tried it. That's interesting -- makes me wonder why the N terminal isn't a U32 then. Maybe so you can decrement the output of the terminal and get negative numbers without having to do the coerce to I32 yourself.
04-30-2013 10:15 AM
Congrats Greg. Its a well deserved honor.
04-30-2013 10:17 AM
@for(imstuck) wrote:
oh mannnnnnnnnnnnnnnnnnn
Just apply Zeno's paradox to it and it will run forever... 😉
Anyway, the terminal is I32 because all indexing operations are I32 (the i terminal, array indices, etc.).
04-30-2013 06:39 PM
Congratulations
04-30-2013 07:19 PM - edited 04-30-2013 07:22 PM
@for(imstuck) wrote:
@tst wrote:
Technically, it should probably be while(imstuck)... 😉
Or do you have a well defined iteration count on that? Maybe something like for(postcount=0,postcount<5000,postcount++){imstuck}? That's a bit of a mouthful...
Wire a -1 to the 'N' terminal, you'll run forever (this was brought to my attention on LAVA). In fact, I considered doing this with a conditional terminal in my code, just as my "signature"
Actually, My mobile sometimes pauses animated icons- then they "Catch up" My 8-ball gets a ton of english, Aeastet's can cause nausea, Greg's.... Just makes me smile (Zippp, zippppp, zipppppppppp! round and round!)
Again, Thanks For the contributions! 3K more to PZ!
05-01-2013 09:02 AM
05-01-2013 12:17 PM
congrats in gettn BOLD !
05-02-2013 08:18 AM