From 61173c1b58efa79c0ba6b08348d2796a249d0186 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 1 Sep 2012 09:51:27 -0500 Subject: move help structure one directory up Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc --- source/text/sbasic/shared/03103300.xhp | 63 ++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 source/text/sbasic/shared/03103300.xhp (limited to 'source/text/sbasic/shared/03103300.xhp') diff --git a/source/text/sbasic/shared/03103300.xhp b/source/text/sbasic/shared/03103300.xhp new file mode 100644 index 0000000000..bfa8d875e7 --- /dev/null +++ b/source/text/sbasic/shared/03103300.xhp @@ -0,0 +1,63 @@ + + + + + + + + +Option Explicit Statement [Runtime] +/text/sbasic/shared/03103300.xhp + + +Sun Microsystems, Inc. +converted from old format - fpe + + + +
+Option Explicit statement + +Option Explicit Statement [Runtime] +Specifies that every variable in the program code must be explicitly declared with the Dim statement. +
+Syntax: +Option Explicit +Parameters: +This statement must be added before the executable program code in a module. +Example: +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 + +
-- cgit