07-17-2009, 07:58 AM
Well, i did a workaround.
Used an array, and use it.
if str with one ligne -> use array[0]
else iterate array.
But i wonder if there is a benefit in terms of speed or memory consumption.
str -> call function1 for str
array -> call funtion2 for array
function1 & function2 do the same thing
array or str -> call function2, i declare an array for only a 1 line string.
Any opinion?
for the variant stuff, i keep it for another macro
Used an array, and use it.
if str with one ligne -> use array[0]
else iterate array.
But i wonder if there is a benefit in terms of speed or memory consumption.
str -> call function1 for str
array -> call funtion2 for array
function1 & function2 do the same thing
array or str -> call function2, i declare an array for only a 1 line string.
Any opinion?
for the variant stuff, i keep it for another macro
