Template talk:Allopentasks: Difference between revisions

Discussion page of Template:Allopentasks
(nifty; nitpick)
 
Line 8: Line 8:
   print ", " A[i];
   print ", " A[i];
</pre> It's been rather a while since I used Perl, and I don't know what structure you're using to hold items, but you get the idea. Having it omit empty categories would be nice, too. Anyway, having every category of open task gathered in one place is great. --[[User:CalculatinAvatar|CalculatinAvatar]]<sup>([[Special:Contributions/CalculatinAvatar|C]]-[[User talk:CalculatinAvatar|T]])</sup> 12:32, 5 August 2006 (CDT)
</pre> It's been rather a while since I used Perl, and I don't know what structure you're using to hold items, but you get the idea. Having it omit empty categories would be nice, too. Anyway, having every category of open task gathered in one place is great. --[[User:CalculatinAvatar|CalculatinAvatar]]<sup>([[Special:Contributions/CalculatinAvatar|C]]-[[User talk:CalculatinAvatar|T]])</sup> 12:32, 5 August 2006 (CDT)
:This is great! --[[User:Gougef|FrankieG]] 12:40, 5 August 2006 (CDT)

Revision as of 17:40, 5 August 2006

Nifty

This is pretty cool. To nitpick (since that's what I do), you can get commas only between items and not after each one with something like:

if( size of A )
  print A[0];
for( i=1; i <  size of A; ++i )
  print ", " A[i];

It's been rather a while since I used Perl, and I don't know what structure you're using to hold items, but you get the idea. Having it omit empty categories would be nice, too. Anyway, having every category of open task gathered in one place is great. --CalculatinAvatar(C-T) 12:32, 5 August 2006 (CDT)

This is great! --FrankieG 12:40, 5 August 2006 (CDT)