Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Aransus

Pages: [1]
1
Code Vault / Another comma_int function
« on: October 24, 2006, 02:08:46 am »
Just posting an alternative solution to the one posted by Llyr in this thread: http://lpmuds.net/forum/messages.php?webtag=LPC&msg=178.1">http://lpmuds.net/forum/messages.php?webtag=LPC&msg=178.1



Edit: Fixed to actually compile on MudOS. ;)



code:
string comma_int (int n)
{
    string str;
    int i;
   
    str = itoa(n);
   
    for (i = strlen(str) - 3; i > (n < 0); i -= 3)
    {
        str = str[0 .. (i - 1)] + "," + str[i .. (strlen(str) - 1)];
    }
   
    return str;
}

2
General / RSS
« on: November 30, 2006, 03:40:33 pm »

There is a RSS feed for this site. I was assuming this could be used to receive notifications about new posts on the forum. But my RSS reader isn't getting any such thing.



Is anyone else getting any new items out of the RSS feed on this site?



Just curious, thanks!


3
General / How to post code blocks?
« on: October 24, 2006, 02:17:51 am »

Hello!



I don't love this forum software, but I use it anyway. I was looking around and couldn't find any documentation for it on this site, am I missing it?



What I really wanted to know was how to post those nifty code blocks that I've seen other being able to produce in their posts. Thanks guys!


Pages: [1]