Talk:Describe Chatter

From Second Life Wiki
Revision as of 07:43, 29 October 2007 by Ppaatt Lynagh (talk | contribs) (For me, the new code isn't as easy to read at a glance as the old code, and the sample results have not changed.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Date Of Birth

DATA_BORN is the Second Life identifier for this.

I think our old phrase "date-of-birth" is the correct English to represent that source code, not our new coinage "date-of-creation". It is the second birth that we are discussing, I think.

Has No Money

Sounds like we're confused over whether we talk of second money denoted in L$, which any avatar may have, and the real money that comes from a registered credit card, denoted in Euros or US$ or whatever.

I see the history says:

Your account can be credited money without having payment info; payment info can be removed from the account after using it.

This comment explains the new code vs. the old code that was:

// Convert to string from PAYMENT_INFO

string toPayInfoEcho(string data)
{
    integer payInfo = (integer) data;
    if (payInfo == 0)
    {
        return "Has no money";
    }
    else if (payInfo & PAYMENT_INFO_USED)
    {
        return "Has spent money";
    }
    else if (payInfo & PAYMENT_INFO_ON_FILE)
    {
        return "Has money";
    }
    else
    {
        return data;
    }

I don't yet understand this change.

For me, the new code isn't as easy to read at a glance as the old code. I see the sample results have not changed. I suspect that me rerunning the code might produce different sample results.