House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

ASCII ruler

Author:
Paul Vernon
12/20/2006 11:20 AM

Hi all, I've Googled for two days but just cannot find anything to do what I need and for some reason my brain is having a block on writing the code that actually works... Essentially, I have a need to show an ascii ruler of arbitrary length on screen the output would resemble this.... (I hope it doesn't wrap)                                                     1         1          1         2         3            9         0         1 1234567890123456789012345678901234.....7890123456789012345678901234...... My brain is looking at nested loops with MOD 10 calculations but the output just turns into a mess resembling my brain which is slowly turning into mush. If anyone can point me in the direction of a decent algorithm in *any* language that would do this I would be eternally grateful! Paul


Search cf-talk

December 19, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Designer, Developer and mobile workflow conference