This is where macros get complicated, ..well just a bit:
This macro combination will work for non-dynamic arrays of strings and numbers.
macro ResetArrayMacro(A, i)
=============================
scope
indexbase 1
int i
for i=1 to countof A
#if typecodeof A < 0x80 'numbers
A[i]=0
#elseif typecodeof A < 0x100 'strings
A[i]=""
#endif
next
end scope
'line spacer
end macro
%* ResetArray ResetArrayMacro(%1) :
'TEST
int a[10],b[10]={1,2,3,4}
string s[10],t[10]={"W","X","Y","Z"}
ResetArray a,b
ResetArray s,t
print t[1] t[2] b[1] b[2]