View unanswered posts | View active topics It is currently Thu Apr 25, 2024 2:07 pm



Reply to topic  [ 1 post ] 
 So I was bored, and a thought crossed my mind 
Author Message
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1396
Location: Canada
Unread post So I was bored, and a thought crossed my mind
...how many Triggers can someone set before being deemed Crazy.

I submit peoples exhibit: CRAZY_GRID_MAKER.ts
Code:
setArray $GRID SECTORS
setvar $count 0
setvar $i 11
while ($i <= sectors)
   settextlinetrigger   ("LINE_" & $I) :LINE $i
   add $i 1
end
setTextlineTrigger   FIN   :DONE "Total"
send "G"
waitfor "============================"
pause
:LINE
   setvar $TEMP CURRENTLINE
   getword $TEMP $TEMP 1
   setvar $GRID[$TEMP] TRUE
   add $COUNT 1
   pause
:DONE
   killalltriggers
   Echo "**" & ANSI_15 & "CRAZY GRID COUNT: " & $COUNT & "**"


just a bit of fun

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)


Wed May 22, 2013 9:34 pm
Profile ICQ YIM
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.