Warcraft III resources & community, 2003–2006 · archived

B2S

not rated
Submitted by AltSubmitterConversion0 downloads
Uses the blizzard.j naming convention of only using the first letter of the type, i.e. I2S for Integer2String. Anyway, converts a boolean value to a string. Mainly useful as a debugging tool.

Source

function B2S takes boolean whichBool returns string
    if(whichBool) then
        return "true"
    endif

    return "false"
endfunction

Comments

0

No comments.