Context English Icelandic
00000002.xhp
par_id3150792
help.text
This glossary explains some technical terms that you may come across when working with $[officename] Basic.
00000002.xhp
par_id3156443
help.text
When converting numbers, $[officename] Basic uses the locale settings of the system for determining the type of decimal and thousand separator.
00000002.xhp
par_id3153092
help.text
The behavior has an effect on both the implicit conversion ( 1 + "2.3" = 3.3 ) as well as the function <link href="text/sbasic/shared/03102700.xhp" name="IsNumeric">IsNumeric</link>.
00000002.xhp
par_id3145366
help.text
In $[officename] Basic, colors are treated as long integer value. The return value of color queries is also always a long integer value. When defining properties, colors can be specified using their RGB code that is converted to a long integer value using the <link href="text/sbasic/shared/03010305.xhp" name="RGB function">RGB function</link>.
00000002.xhp
par_id3154013
help.text
In $[officename] Basic, a <emph>method parameter</emph> or a <emph>property</emph> expecting unit information can be specified either as integer or long integer expression without a unit, or as a character string containing a unit. If no unit is passed to the method the default unit defined for the active document type will be used. If the parameter is passed as a character string containing a measurement unit, the default setting will be ignored. The default measurement unit for a document type can be set under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - (Document Type) - General</emph>.
00000002.xhp
par_id3154731
help.text
A twip is a screen-independent unit which is used to define the uniform position and size of screen elements on all display systems. A twip is 1/1440th of an inch or 1/20 of a printer's point. There are 1440 twips to an inch or about 567 twips to a centimeter.
00000002.xhp
hd_id3153159
help.text
URL Notation
00000002.xhp
par_id3153415
help.text
URLs (<emph>Uniform Resource Locators</emph>) are used to determine the location of a resource like a file in a file system, typically inside a network environment. A URL consists of a protocol specifier, a host specifier and a file and path specifier:
00000002.xhp
par_id3149121
help.text
<emph>protocol</emph>://<emph>host.name</emph>/<emph>path/to/the/file.html</emph>
00000002.xhp
par_id3168612
help.text
The most common usage of URLs is on the internet when specifying web pages. Example for protocols are <emph>http</emph>, <emph>ftp</emph>, or <emph>file</emph>. The <emph>file</emph> protocol specifier is used when referring to a file on the local file system.
00000002.xhp
par_id3150324
help.text
URL notation does not allow certain special characters to be used. These are either replaced by other characters or encoded. A slash (<emph>/</emph>) is used as a path separator. For example, a file referred to as <emph>C:\Users\alice\Documents\My File.odt</emph> on the local host in "Windows notation" becomes <emph>file:///C:/Users/alice/Documents/My%20File.odt</emph> in URL notation.
00000003.xhp
par_id3153381
help.text
You can set the locale used for controlling the formatting numbers, dates and currencies in $[officename] Basic in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Language Settings - Languages</emph>. In Basic format codes, the decimal point (<emph>.</emph>) is always used as <emph>placeholder</emph> for the decimal separator defined in your locale and will be replaced by the corresponding character.
00000003.xhp
par_id3150870
help.text
The same applies to the locale settings for date, time and currency formats. The Basic format code will be interpreted and displayed according to your locale setting.
00000003.xhp
par_id3156424
help.text
The color values of the 16 basic colors are as follows:
00000003.xhp
par_id3151112
help.text
0
00000003.xhp
par_id3151302
help.text
Transparent white
00000003.xhp
par_id631529000528928
help.text
Open <item type="menuitem">Tools - Macros - %PRODUCTNAME Basic - Edit</item> and select <item type="menuitem">%PRODUCTNAME Macros</item> container.
00000003.xhp
par_id971529072633266
help.text
<variable id="basiclibrarynote">This library must be loaded before execution. Place the following statement before the first macro in your module:</variable>
00000003.xhp
par_id051920171018124524
help.text
This constant, function or object is enabled with the statement <link href="text/sbasic/shared/03103350.xhp" name="optionvbasupport"><literal>Option VBASupport 1</literal></link> placed before the executable program code in a module.
00000003.xhp
par_id3145172
help.text
This statement must be added before the executable program code in a module.