我有这段代码使用URL
关键字访问网址内容,但我总是收到错误:An error occured: error
。我错过了什么?
on _common_parse_json pUrl
put "http://www.google.com" into pUrl
put URL pUrl into tResult
put the result into tError
if tError is empty then
set the text of field "result" to tResult
else
set the text of field "result" to "An error occurred:" && tError & ", parsing URL:"&&pUrl
end if
end _common_parse_json
P.S我在Windows 8.1中使用Livecode 7.1.4社区版