console output from desktop livecode
Posted: Tue Jul 19, 2011 11:15 am
Please can any one tell me how to generate persistent console log
I am having some performance issues using images with livecode in IOS. The function below show the time between each profile in the message box
but the problem is it over write the previous profile - I'd like it to append to the end like usual console log output. How do I generate persistent console log?
command profile profileMessage
--local vars
local currentProfileTime
--get current time
put the milliseconds into currentProfileTime
--subtract PREVIOUS time from current time and set as since since last time
put currentProfileTime - lastProfileTime into timeSinceLastProfile
--**output the profile diagnostics**
--put message plus current time plus time since last time
put profileMessage & " : " & timeSinceLastProfile & return
--set the last profile time
put currentProfileTime into lastProfileTime
end profile
I am having some performance issues using images with livecode in IOS. The function below show the time between each profile in the message box
but the problem is it over write the previous profile - I'd like it to append to the end like usual console log output. How do I generate persistent console log?
command profile profileMessage
--local vars
local currentProfileTime
--get current time
put the milliseconds into currentProfileTime
--subtract PREVIOUS time from current time and set as since since last time
put currentProfileTime - lastProfileTime into timeSinceLastProfile
--**output the profile diagnostics**
--put message plus current time plus time since last time
put profileMessage & " : " & timeSinceLastProfile & return
--set the last profile time
put currentProfileTime into lastProfileTime
end profile