From 3cb6c49b52541dd5f0c650d79a201a69415d8054 Mon Sep 17 00:00:00 2001
From: Laurent Balland-Poirier
Date: Tue, 17 Jan 2017 21:15:13 +0100
Subject: Basic: beautify Examples with bascode tag
Correct many examples to use tag to get colorised text
Merge some identical examples in section
Remove useless spaces
Remove ^M at end of line with
Add localize="false" for pure Basic code
Add comments from Johnny_M
Treat 03101700.xhp in a different commit
Change-Id: I94a799ee13829ed9086127aa7d0e722ffe1dd90d
Reviewed-on: https://gerrit.libreoffice.org/33240
Reviewed-by: Olivier Hallot
Tested-by: Olivier Hallot
(cherry picked from commit 3d5e0e547daaed4c5587d403877a04916cf23eb9)
Reviewed-on: https://gerrit.libreoffice.org/37825
---
source/text/sbasic/shared/03030108.xhp | 11 ++++++-----
source/text/sbasic/shared/03030201.xhp | 17 +++++++++--------
source/text/sbasic/shared/03030202.xhp | 17 +++++++++--------
source/text/sbasic/shared/03090302.xhp | 31 +++++++++++++------------------
source/text/sbasic/shared/03100400.xhp | 10 ++++++----
source/text/sbasic/shared/03100500.xhp | 13 ++-----------
source/text/sbasic/shared/03100600.xhp | 13 ++-----------
source/text/sbasic/shared/03100700.xhp | 4 +---
source/text/sbasic/shared/03103800.xhp | 7 ++++---
source/text/sbasic/shared/03103900.xhp | 20 ++------------------
source/text/sbasic/shared/03104100.xhp | 9 +++++----
source/text/sbasic/shared/03104200.xhp | 11 ++++++-----
source/text/sbasic/shared/03104300.xhp | 7 ++++---
source/text/sbasic/shared/03104400.xhp | 7 ++++---
source/text/sbasic/shared/03104600.xhp | 23 ++++++++++++-----------
source/text/sbasic/shared/03120312.xhp | 17 ++++++++++-------
source/text/sbasic/shared/03120313.xhp | 10 ++--------
source/text/sbasic/shared/03131500.xhp | 7 ++++---
source/text/sbasic/shared/03131700.xhp | 15 ++++++++-------
source/text/sbasic/shared/03131800.xhp | 23 +++++++++++++----------
source/text/sbasic/shared/03131900.xhp | 16 +++++++++-------
source/text/sbasic/shared/03132300.xhp | 5 +----
22 files changed, 132 insertions(+), 161 deletions(-)
(limited to 'source/text')
diff --git a/source/text/sbasic/shared/03030108.xhp b/source/text/sbasic/shared/03030108.xhp
index 3e0a8f8843..26313504b4 100644
--- a/source/text/sbasic/shared/03030108.xhp
+++ b/source/text/sbasic/shared/03030108.xhp
@@ -1,6 +1,5 @@
-
-
+
@@ -42,7 +41,7 @@
Syntax:
-CDateFromIso(String)
+CDateFromIso(String)Return value:Internal date number
@@ -52,8 +51,10 @@
Example:
-dateval = CDateFromIso("20021231")
-dateval = CDateFromIso("2002-12-31")
+
+ dateval = CDateFromIso("20021231")
+ dateval = CDateFromIso("2002-12-31")
+return both 12/31/2002 in the date format of your system
-
CInt function
-
CInt Function [Runtime]Converts any string or numeric expression to an integer.
@@ -52,14 +50,7 @@
-Example:
-
-Sub ExampleCountryConvert
- MsgBox CDbl(1234.5678)
- MsgBox CInt(1234.5678)
- MsgBox CLng(1234.5678)
-End Sub
-
+
-
CLng function
-
CLng Function [Runtime]Converts any string or numeric expression to a long integer.
@@ -52,14 +50,7 @@
-Example:
-
-Sub ExampleCountryConvert
- MsgBox CDbl(1234.5678)
- MsgBox CInt(1234.5678)
- MsgBox CLng(1234.5678)
-End Sub
-
+
-
Const statement
-
Const Statement [Runtime]Defines a string as a constant.
@@ -60,4 +58,4 @@