I thought I'd start a little conversation about various programming languages we have used and mention some extremes associated with them. I'll start off with mine:
Language: DragonSpeak
Extreme: Slowest-running Loop
Language: DragonSpeak
Extreme: Most coding for a loop.
Speed: One iteration per second. That's not a typo, not a missed word, but how you do loops in DragonSpeak.
Strip out the the unnecessary text (which basically describes what the line does) and you get:Code:(0:3) When somebody moves into object type #66, (1:194) and timer #1 is not still counting down, (5:300) set variable #%Count to the value #0. (5:50) set countdown timer #1 to go off in #1 seconds. (5:41) place object type #497 at (#12,13). (0:50) When countdown timer #1 goes off, (1:202) and variable #%Count is less than #10, (5:50) set countdown timer #1 to go off in #1 seconds. (5:302) take variable #%Count and add #1 to it. (5:301) copy the value of variable #%Count into variable #%ShowObject. (5:302) take variable #%ShowObject and add #497 to it. (5:41) place object type #%ShowObject at (#12,13).
Object type #66 is the post in the picture, and the %ShowObject numbers display the numbers in yellow triangle, which are objects type 497 - 507. The basic loop code (subtracting the lines that display the numbers) takes up eight lines.Code:(0:3) 66 (1:194) 1 (5:300) %Count 0 (5:50) 1 1 (5:41) 497 12 13 (0:50) 1 (1:202) %Count 10 (5:50) 1 1 (5:302) %Count 1 (5:301) %Count %ShowObject (5:302) %ShowObject 497 (3:2) 12 13 (5:41) %ShowObject 12 13


Reply With Quote
Bookmarks