• Got a Tipila, google, windows live or facebook account ?
Tips tagged: flip-flops
1
votes
Not suited for all situations, but this is the most efficient, super fast flip flop mechanism. array = [yellow, red] // alternative colors len = 2 // length of array loop from 1 to n print array[i%len] // alternate through the colors end loop
1
Matching Tips
Search options
  • Use the syntax:
    seach text, tag1, tag2,...
    to search for tips with the given tags.
  • Add ,mytips to the search text to search within MyTips only.
  • Use the syntax:
    ,tag1, tag2,...  to get all tips with the given tags.
Login to Tipila