| 13610 | |
| 13611 | |
| 13612 | LPTSTR ListVarsHelper(LPTSTR aBuf, int aBufSize, LPTSTR aBuf_orig, VarList &aVars) |
| 13613 | { |
| 13614 | for (int i = 0; i < aVars.mCount; ++i) |
| 13615 | if (aVars.mItem[i]->Type() == VAR_NORMAL) // Don't bother showing VAR_CONSTANT; ToText() doesn't support VAR_VIRTUAL. |
| 13616 | aBuf = aVars.mItem[i]->ToText(aBuf, BUF_SPACE_REMAINING, true); |
| 13617 | return aBuf; |
| 13618 | } |
| 13619 | |
| 13620 | LPTSTR Script::ListVars(LPTSTR aBuf, int aBufSize) // aBufSize should be an int to preserve negatives from caller (caller relies on this). |
| 13621 | // aBufSize is an int so that any negative values passed in from caller are not lost. |