LibreOffice 24.2 Help
បញ្ជាក់ថា គ្រប់អថេរក្នុងកូដកម្មវិធីត្រូវតែប្រកាសជាក់លាក់ជាមួយសេចក្តីថ្លែងការណ៍ Dim ។
Option Explicit
This statement must be added before the executable program code in a module.
Option Explicit Sub ExampleExplicit Dim sVar As String sVar = "Las Vegas" For i% = 1 to 10 REM This results in a run-time error Rem Next i% End Sub