how do you declare the variables ir and n_ir? the code below shows the error:
error: c0047: Simple datatype illegal for crate statemant: n_ir
lob lblb_args
String ls_headers
String ls_url
String ls_args
long ll_length
integer li_rc
Inet ir
li_rc = GetContextService( "Internet", iinet_base )
IF li_rc = 1 THEN ir = CREATE n_ir ls_url = "http://localhost/Site/testurl.stm?"
ls_args = "user=MyName&pwd=MyPasswd"
lblb_args = Blob( ls_args )
ll_length = Len( lblb_args )
ls_header = "Content-Type: " + &
"application/x-www-form-urlencoded~n" + &
"Content-Length: " + String( ll_length ) + "~n~n"
li_rc = iinet.PostURL( ls_url, lblb_args, &
ls_header, ir )
END IF
- LUIZ A augusto manzella
- PowerBuilder
- Thursday, 11 February 2021 00:08 AM UTC
- Page :
- 1
There are no replies made for this question yet.
However, you are not allowed to reply to this question.
However, you are not allowed to reply to this question.
After change:
error c0001: illegal data type: n_ir
warning c0014: undefined variable: ir
error c0047: simple datatype fro creater statemant: n_ir
(I've edited my answer to correct my error).
sorry!