i am having problems with a variable saying it isn't declared but it is declared in the function.
==> Variable used without being declared.:
If $str1 = "1" Then
If ^ ERROR
i can't figure out why.
Func _Sendmsg($str1 = "")
;If Not IsDeclared($str1) Then
If $str1 = "" Then
$szData = InputBox("Data for server", @LF & @LF & "Enter data to transmit to the server:", "", "", "", "", 200, 500)
Else
$szData = $str1
EndIf
TCPSend($sockclient, $szData)
EndFunc ;==>_Sendms