Won't run [RESOLVED]
Posted: Mon Jul 17, 2017 7:45 am
Hi. I'm following the interactive welcome because I'm trying to evaluate LiveCode for Mobile development.
I work throught the BMI calculator. It works on my Mac as a standalone app and in development mode, but on my Samsung J1 the Calculate Button won't print the results:
The error is
The error is in put JsonImport(tJSON) into tArray because the next alert don't appear on my phone but give correct result on Mac app and development mode.....
Is a bug? Someone can help?
**EDIT** It won't work neither on Mac. It work only in development mode.....can be LiveCode 9 problem? I installed yesterday....
I work throught the BMI calculator. It works on my Mac as a standalone app and in development mode, but on my Samsung J1 the Calculate Button won't print the results:
The error is
Code: Select all
function getBMI pHeight, pWeight
answer "Arriva alla funzione"
put "link to api I cannot post" & \
"height_in_m=" & pHeight & "&weight_in_kg=" & pWeight into tURL
put url tURL into tJSON
answer tJSON
put JsonImport(tJSON) into tArray
answer tArray["result"]["value"]
return round(tArray["result"]["value"])
end getBMI
Is a bug? Someone can help?
**EDIT** It won't work neither on Mac. It work only in development mode.....can be LiveCode 9 problem? I installed yesterday....