It seems like it should, note that...
Code: Select all
Declare Sub FindIt overload (TComma As String,FindStr As String)
Declare Sub FindIt overload (T() As String,FindStr As String)
Sub FindIt (TComma As String,FindStr As String)
print "normal called"
end sub
Sub FindIt (T() As String,FindStr As String)
print "array version called"
end sub
dim foo(10) as string
Findit("hello","hi")
Findit(foo(),"hi")
...works as you would expect. Often writing a little test program like this will give you an answer faster than the forum. (In fact, as I have just shown, people answering in the forum may well have used this method to check their knowledge before answering).
P.S. It looks like you might be interested in the "instr" function when you come to write your functions, see
http://www.freebasic.net/wiki/wikka.php ... KeyPgInstr