summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/sbasic/shared/03104700.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'helpcontent2/source/text/sbasic/shared/03104700.xhp')
-rw-r--r--helpcontent2/source/text/sbasic/shared/03104700.xhp64
1 files changed, 64 insertions, 0 deletions
diff --git a/helpcontent2/source/text/sbasic/shared/03104700.xhp b/helpcontent2/source/text/sbasic/shared/03104700.xhp
new file mode 100644
index 000000000..968cac313
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104700.xhp
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+
+<helpdocument version="1.0">
+<meta>
+ <topic id="textsbasicshared03104700xhp" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Erase Statement</title>
+ <filename>/text/sbasic/shared/03104700.xhp</filename>
+ </topic>
+ <history><created date="2005-04-25T14:43:31">Erase</created></history>
+</meta>
+
+<body>
+
+<section id="erase">
+<bookmark xml-lang="en-US" branch="index" id="bm_id624713"><bookmark_value>Erase statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="par_idN10548" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03104700.xhp">Erase Statement</link></paragraph>
+<paragraph role="paragraph" id="par_idN10558" xml-lang="en-US">Erases the contents of array elements of fixed size arrays, and releases the memory used by arrays of variable size.</paragraph>
+</section>
+
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+<paragraph role="image" id="par_id831588865616326"><image src="media/helpimg/sbasic/Erase_statement.svg" id="img_id651588865616326"><alt id="alt_id281588865616326">Erase syntax</alt></image></paragraph>
+<bascode>
+ <paragraph role="bascode" id="par_idN105E6" xml-lang="en-US">Erase array1 [, array2 [,...]]</paragraph>
+</bascode>
+
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+<paragraph role="paragraph" id="par_idN105ED" xml-lang="en-US"><emph>array list</emph> - A comma delimited list of arrays to be erased.</paragraph>
+
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
+<bascode>
+ <paragraph role="bascode" id="bas_id551588866531991" localize="false">Sub Erase_Example</paragraph>
+ <paragraph role="bascode" id="bas_id941588866552486" localize="false"> a = Array(1,2,3) : b= Array("z","y","x") : c=Array(a,b)</paragraph>
+ <paragraph role="bascode" id="bas_id821588866562452" xml-lang="en-US"> Erase a, c(Ubound(c)) &apos; b and c(0) are unchanged</paragraph>
+ <paragraph role="bascode" id="bas_id701588866563382" xml-lang="en-US"> Erase b, c(0) ' everything gets cleared</paragraph>
+ <paragraph role="bascode" id="bas_id691588866563757" localize="false">End Sub</paragraph>
+</bascode>
+
+<section id="relatedtopics">
+ <paragraph role="paragraph" id="par_id161588865796615"><link href="text/sbasic/shared/03102100.xhp" name="Dim statement">Dim</link> or <link href="text/sbasic/shared/03102101.xhp" name="ReDim statement">ReDim</link> statements</paragraph>
+ <paragraph role="paragraph" id="par_id281588865818334"><link href="text/sbasic/shared/03104200.xhp" name="Array function">Array</link> or <link href="text/sbasic/shared/03104300.xhp" name="DimArray function">DimArray</link> functions</paragraph>
+ <paragraph role="paragraph" id="par_id761588867124078"><link href="text/sbasic/shared/03102900.xhp" name="lower bound function">Lbound</link> and <link href="text/sbasic/shared/03103000.xhp" name="upper bound function">Ubound</link> functions</paragraph>
+</section>
+
+</body>
+</helpdocument> \ No newline at end of file