| 879 | // |
| 880 | |
| 881 | Array *Array::FromArgV(LPTSTR *aArgV, int aArgC) |
| 882 | { |
| 883 | ExprTokenType *token = (ExprTokenType *)_alloca(aArgC * sizeof(ExprTokenType)); |
| 884 | ExprTokenType **param = (ExprTokenType **)_alloca(aArgC * sizeof(ExprTokenType*)); |
| 885 | for (int j = 0; j < aArgC; ++j) |
| 886 | { |
| 887 | token[j].SetValue(aArgV[j]); |
| 888 | param[j] = &token[j]; |
| 889 | } |
| 890 | return Create(param, aArgC); |
| 891 | } |
| 892 | |
| 893 | |
| 894 |