when i call a sub with a parameter
i just put in like
my sub here getText1(str1 as string )
text1.text = "haha"
getText1(text1.text) ' my sub
but when my sub has more than 1 parameter
my sub here getText1(str1 as string , str2 as string)
text1.text= "haha"
text2.text= "hehe"
getText1(text1.text , text2.text) ' i will get an error " a equal = operator is expected"
do i have to include a call getText1(t........) for sub with 2 or more input parameters?
or what is the problem?


Reply With Quote