У меня есть этот код для доступа к URL-адресу с использованием ключевого слова URL
, но у меня всегда была ошибка: An error occured: error
. Что я пропустил?URL-адрес ключевого слова Livecode
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 Я использую LiveCode 7.1.4 Community Edition в Windows, 8.1