summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/sbasic/shared/03101100.xhp
blob: 7cd0976459ec7ce37b70bd9d7085f3351f553f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>


<!--***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************-->
	
<helpdocument version="1.0">
<meta>
<topic id="textsbasicshared03101100xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">DefBool Statement [Runtime]</title>
<filename>/text/sbasic/shared/03101100.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-08-24T11:24:22">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<section id="defbool">
<bookmark xml-lang="en-US" branch="index" id="bm_id3145759"><bookmark_value>DefBool statement</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3145759" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03101100.xhp" name="DefBool Statement [Runtime]">DefBool Statement [Runtime]</link></paragraph>
<paragraph role="paragraph" id="par_id3153089" xml-lang="en-US" l10n="U" oldref="2">If no type-declaration character or keyword is specified, the DefBool statement sets the default data type for variables, according to a letter range.</paragraph>
</section>
<paragraph role="heading" id="hd_id3149495" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
<paragraph role="paragraph" id="par_id3150682" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
<paragraph role="heading" id="hd_id3159201" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
<paragraph role="paragraph" id="par_id3147226" xml-lang="en-US" l10n="U" oldref="6">
<emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
<paragraph role="paragraph" id="par_id3149178" xml-lang="en-US" l10n="U" oldref="7">
<emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
<paragraph role="paragraph" id="par_id3150669" xml-lang="en-US" l10n="U" oldref="8">
<emph>Keyword: </emph>Default variable type</paragraph>
<paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="U" oldref="9">
<emph>DefBool:</emph> Boolean</paragraph>
<paragraph role="heading" id="hd_id3149762" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definition for variable types:</paragraph>
<paragraph role="paragraph" id="par_id3153627" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph>
<paragraph role="paragraph" id="par_id3145610" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph>
<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph>
<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph>
<paragraph role="paragraph" id="par_id3152812" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph>
<paragraph role="paragraph" id="par_id3153524" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph>
<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph>
<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDefBool</paragraph>
<paragraph role="paragraph" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="22">bOK=TRUE REM bOK is an implicit Boolean variable</paragraph>
<paragraph role="paragraph" id="par_id3145421" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
</body>
</helpdocument>
office-4-3-3'>libreoffice-4-3-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/extras/CustomTarget_autotextshare.mk
AgeCommit message (Collapse)Author
2022-02-10simplify autotextshare makefile/only build what's packagedChristian Lohmaier
The multiple indirections/complex nested constructs don't really provide any benefit here, they certainly don't make the makefile easier to read. It was building the autotext .bau files for all languages, despite being packaged only for the requested UI langauges (via AllLagPackage) and the long list of autotext files was duplicated (even if all .bau files should be built, the list could be reused from the other makefile) Also remove the empty mimetype files and just touch them instead of copying them. The xml, mimetype and other files are now intermediates and are removed by make once the .bau is built. (if that's not desired, they can be flagged as .SECONDARY) The list of individual files (3.6k lines) could also be cut down if using e.g. make's wildcard function Change-Id: I223a49d26d1de1435d62a68a04b3713278a8320c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129696 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-09-08remove unnecessary meta.xml from autotextJustin Luth
I kept this separate to simplify spotting errors. There were about 130 unique md5sum hashes, and all were roughly the same size. I spot checked a few with "meld" and didn't see anything that seemed valuable. find . -name meta.xml -exec rm {} \; git grep -l \/meta.xml *.xml | xargs sed -i /\/meta.xml/d git grep -l \/meta.xml ../CustomTarget_autotextshare.mk \ | xargs sed -i "/\/meta.xml/d" Change-Id: Id11ec9973a8764ffbc809f9161868d6cacb80a85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121606 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Laurent Balland-Poirier <laurent.balland-poirier@laposte.net>
2021-09-06remove unnecessary settings.xml from autotextJustin Luth
I don't think that anyone wants their document settings adjusted just by entering some autotext. [Now, it didn't seem to be doing that because I suppose that since the value already exists, the import won't overwrite it.] find extras/source -name settings.xml | md5sum | sort //shows only a few unique entries. Visual comparing with "Meld" //didn't reveal any reason why the files are useful. I also removed ./autotext/lang/bg/standard/FN/Obj0012D655/settings.xml based on Laurent's advice, even though it contains <config:config-item config:name="Formula" E=mc^2 Otherwise, the other 7 versions were almost identical, differening only in OOo version .9, or 1.1 and show redline changes on/off. cd exttras/source find . -name settings.xml -exec rm {} \; git grep -l \/settings.xml *.xml | xargs sed -i /\/settings.xml/d git grep -l \/settings.xml ../CustomTarget_autotextshare.mk \ | xargs sed -i "/\/settings.xml/d" Change-Id: I9c148bdff55e6757e6fa98401486bc7c41ebf25d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121605 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák
See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-09-24Update AutoText for srLaurent BP
Change lang code to AutoText to fit UI languages: replace sr-CS, sr-ME, sr-RS and sr-Latn-CS, sr-Latn-ME, sr-Latn-RS with sr and sr-Latn Change-Id: I68b437c8a93c8ecf926d0169b3bee93145375e0b Reviewed-on: https://gerrit.libreoffice.org/78805 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Remove useless AutoTextLaurent BP
As no UI available in these languages, autotext were removed for: ab af-ZA (af is used) an az en-AU ga-IE (ga is used) jv kl ky lb-LU (lb is used) nl-BE (nl is used) sah ti ur Change-Id: If048baec9821dde3bbd60de202d6b8e0b188fc5d Reviewed-on: https://gerrit.libreoffice.org/78839 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-08tdf#81436 Add default Autotext to all l10nLaurent BP
For l10n that do not have yet Autotext, add: FN: Formula Numbering LOREM: Lorem Ipsum dummy text Change-Id: Ife882cdc70758ccbbc3fa8e185eca10fab005e4a Reviewed-on: https://gerrit.libreoffice.org/78353 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>