DroidScript / Docs

DroidScript Documentation
Apache License 2.0
81 stars 29 forks source link

Python example for SetOnError #172

Open Al4He6 opened 2 months ago

Al4He6 commented 2 months ago

https://github.com/DroidScript/Docs/blob/63145db940b0ace9ef88855f7e3a4ec9c6c4576c/files/markup/en/app/SetOnError.js#L51

Using + to concatenate string and numeric

Al4He6 commented 2 months ago

Quote marks may also be incorrect

text = 'Message: "' + msg + '"\n' +
     'Line: ' + str(line) + '\n' +
     'File: "' + app.Uri2Path(file) + '"'