?? mapbasi 錯誤處理示例.mb
字號:
'*************************************************************************
'* The following is an example of how to correctly set up multiple
'* error checking routines.
'*************************************************************************
Include "mapbasic.def"
Declare Sub Main
Sub Main
Onerror Goto Notfound 'If error run error message
Open Table "C:\fred"
Note "No error on first try"
Nexterrorcheck:
Onerror Goto Nextnotfound
Open Table "C:\Barney"
Note "No error on second try"
Exit Sub
'******* Error Routines ********
Notfound:
Note "First table not found"
Resume Nexterrorcheck 'Return and Continue program
Nextnotfound:
Note "Second table not found"
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -