Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

.galaxy (SCII)

Name: Anonymous 2012-03-02 12:23

What do you guys think of SCII's scripting language .galaxy?

playergroup gv_allPlayers = PlayerGroupAll();
void gf_exampleFunc () {
    text lv_txtPlayer = StringToText("Player ")
    text lv_txt = StringToText(" is a nigger.");
    int  lv_i;

    while(lv_i <= c_maxPlayers) {
        UIDisplayMessage(gv_allPlayers, c_messageAreaDebug, lv_txtPlayer + IntToText(lv_i) + lv_txt);
        lv_i += 1;
    }
}

Name: Anonymous 2012-03-02 17:08

>>50
Maybe I should drop the use of the lv_ prefix for locals but continue with the prefixes for globals... or are you talking about c_ vs gv_? It's not very clear to me which prefix you're proclaiming to be redundant. Could be a parameter if it's not a local or global variable. That's about it though.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List