Is there a command in livecode to display an error message like this? I basically want to output the line number where the error occured.
if the cDev is "dev" then -- check for development system
answer error "Error"&& lineNumber && "on cardscript" & myCardName && "in stack" && myStackName
else
answer error "Please contact support"
end if
This would make it so much easier..