Peter Simpson Expert Licensed User Longtime User Mar 1, 2017 #1 When you type 'try' SPACE then hit ENTER, B4R automatically create the following code block. The problem is B4R adds 'LastException' in red, but LastException is not in the commands and objects list for B4R. BTW I downloaded and double checked the B4R Beginner's Guide, and it is mentioned on page 72 that you should use LastException, but it does not exists in B4R. Code: Copy 'Code Try Catch Log(LastException) End Try
When you type 'try' SPACE then hit ENTER, B4R automatically create the following code block. The problem is B4R adds 'LastException' in red, but LastException is not in the commands and objects list for B4R. BTW I downloaded and double checked the B4R Beginner's Guide, and it is mentioned on page 72 that you should use LastException, but it does not exists in B4R. Code: Copy 'Code Try Catch Log(LastException) End Try
Erel B4X founder Staff member Licensed User Longtime User Mar 2, 2017 #2 This is a mistake. There are no exceptions in B4R. It is fixed for the next update.
A atiaust Active Member Licensed User Longtime User Sep 19, 2019 #3 Did this get fixed? If you type 'Try' followed by space and enter the code block is inserted with "Log(LastException)" B4R ver 2.80
Did this get fixed? If you type 'Try' followed by space and enter the code block is inserted with "Log(LastException)" B4R ver 2.80
Erel B4X founder Staff member Licensed User Longtime User Sep 19, 2019 #4 'Try' will not appear in the auto completion list. It does indeed auto complete if you write 'try' and write enter. It will be fixed.
'Try' will not appear in the auto completion list. It does indeed auto complete if you write 'try' and write enter. It will be fixed.