28 Mar
2017
28 Mar
'17
10:23 a.m.
Hello I want to implement handling of run-time errors in lua using pcall: status,err = pcall(dbh:query,querystring) if (not status or dbh:affected_rows()<1) then print('error') end But I get an error for pcall: function arguments expected near ',' Examples for programming in Lua shows this syntax for pcall. However in FS it does not work. How to handle errors with pcall? -- Mimiko desu.
3508
Age (days ago)
3508
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mimiko