Hi,
Probably a newbie question but here it goes. I have a sub called search_app(tmp). When i pass a string constant everything is ok but if i pass a variable i get error CS1026 when compiling (optimized mode, version 6.8).
Code:
====================================
sub search_app(tmp)
found = false
checking some stuff here....
return found
end sub
elsewhere i have
x = "test"
if search_app(x) then
end if
===============================
Anyone got a clue?
Probably a newbie question but here it goes. I have a sub called search_app(tmp). When i pass a string constant everything is ok but if i pass a variable i get error CS1026 when compiling (optimized mode, version 6.8).
Code:
====================================
sub search_app(tmp)
found = false
checking some stuff here....
return found
end sub
elsewhere i have
x = "test"
if search_app(x) then
end if
===============================
Anyone got a clue?