summaryrefslogtreecommitdiff
path: root/source/zh-TW/helpcontent2/source/text/sbasic/shared.po
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-04-03 12:23:58 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-04-03 12:29:21 +0200
commit0a73e51795ef412006c59d3723f265fed445dea1 (patch)
tree23ede73eb8719ea29071175125c515b7674b85c4 /source/zh-TW/helpcontent2/source/text/sbasic/shared.po
parent7b4a46ae144ea71701de6d479c3c6ef74610e52c (diff)
update translations from weblate
and force-fix errors using pocheck Change-Id: I64fe815a46b844bc1c9e53327d7e9367f0f589ec
Diffstat (limited to 'source/zh-TW/helpcontent2/source/text/sbasic/shared.po')
-rw-r--r--source/zh-TW/helpcontent2/source/text/sbasic/shared.po625
1 files changed, 515 insertions, 110 deletions
diff --git a/source/zh-TW/helpcontent2/source/text/sbasic/shared.po b/source/zh-TW/helpcontent2/source/text/sbasic/shared.po
index 0ecd2d9ed2f..61e75e8aac9 100644
--- a/source/zh-TW/helpcontent2/source/text/sbasic/shared.po
+++ b/source/zh-TW/helpcontent2/source/text/sbasic/shared.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
-"POT-Creation-Date: 2020-03-06 11:45+0100\n"
+"POT-Creation-Date: 2020-04-03 11:46+0200\n"
"PO-Revision-Date: 2018-10-21 20:41+0000\n"
"Last-Translator: Anonymous Pootle User\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -547,13 +547,13 @@ msgctxt ""
msgid "<variable id=\"basiclibrarynote\">This library must be loaded before execution. Place the following statement before the first macro in your module:</variable>"
msgstr ""
-#. LEFhk
+#. 8ipLK
#: 00000003.xhp
msgctxt ""
"00000003.xhp\n"
"par_id051920171018124524\n"
"help.text"
-msgid "This function or constant 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."
+msgid "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."
msgstr ""
#. DYo4K
@@ -2644,158 +2644,149 @@ msgctxt ""
msgid "To display a certain module in the Editor or to position the cursor in a selected SUB or FUNCTION, double click on the corresponding entry."
msgstr ""
-#. FEF3a
+#. hVrnu
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"tit\n"
"help.text"
-msgid "Using Procedures and Functions"
-msgstr "使用程序和函式"
+msgid "Using Procedures, Functions or Properties"
+msgstr ""
-#. BPbU2
+#. 6jwBY
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"bm_id3149456\n"
"help.text"
-msgid "<bookmark_value>procedures</bookmark_value> <bookmark_value>functions;using</bookmark_value> <bookmark_value>variables;passing to procedures and functions</bookmark_value> <bookmark_value>parameters;for procedures and functions</bookmark_value> <bookmark_value>parameters;passing by reference or value</bookmark_value> <bookmark_value>variables;scope</bookmark_value> <bookmark_value>scope of variables</bookmark_value> <bookmark_value>GLOBAL variables</bookmark_value> <bookmark_value>PUBLIC variables</bookmark_value> <bookmark_value>PRIVATE variables</bookmark_value> <bookmark_value>functions;return value type</bookmark_value> <bookmark_value>return value type of functions</bookmark_value>"
-msgstr "<bookmark_value>程序</bookmark_value><bookmark_value>函式; 使用</bookmark_value><bookmark_value>變數; 傳給程序與函式</bookmark_value><bookmark_value>參數; 程序與函式的</bookmark_value> <bookmark_value>參數; 傳參照或傳值</bookmark_value> <bookmark_value>變數; 範圍</bookmark_value> <bookmark_value>變數的範圍</bookmark_value> <bookmark_value>GLOBAL 變數</bookmark_value> <bookmark_value>PUBLIC 變數</bookmark_value> <bookmark_value>PRIVATE 變數</bookmark_value> <bookmark_value>函式; 傳回值的類型</bookmark_value> <bookmark_value>函式傳回值的類型</bookmark_value>"
+msgid "<bookmark_value>procedures</bookmark_value> <bookmark_value>functions;using</bookmark_value> <bookmark_value>variables;passing to procedures, functions, properties</bookmark_value> <bookmark_value>parameters;for procedures, functions or properties</bookmark_value> <bookmark_value>parameters;passing by reference or value</bookmark_value> <bookmark_value>variables;scope</bookmark_value> <bookmark_value>scope of variables</bookmark_value> <bookmark_value>GLOBAL variables</bookmark_value> <bookmark_value>PUBLIC variables</bookmark_value> <bookmark_value>PRIVATE variables</bookmark_value> <bookmark_value>functions;return value type</bookmark_value> <bookmark_value>return value type of functions</bookmark_value>"
+msgstr ""
-#. yionm
+#. AYcBA
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"hd_id3149456\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/01020300.xhp\">Using Procedures and Functions</link>"
-msgstr "<link href=\"text/sbasic/shared/01020300.xhp\">使用程序和函式</link>"
+msgid "<link href=\"text/sbasic/shared/01020300.xhp\">Using Procedures, Functions and Properties</link>"
+msgstr ""
-#. MZaKH
+#. DSyYW
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3150767\n"
"help.text"
-msgid "The following describes the basic use of procedures and functions in $[officename] Basic."
-msgstr "以下描述了 $[officename] Basic 中程序和函式的基本用法。"
+msgid "The following describes the basic use of procedures, functions and properties in %PRODUCTNAME Basic."
+msgstr ""
-#. XjrdK
+#. Jsg3r
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3151215\n"
"help.text"
-msgid "When you create a new module, $[officename] Basic automatically inserts a SUB called \"Main\". This default name has nothing to do with the order or the starting point of a $[officename] Basic project. You can also safely rename this SUB."
-msgstr "在建立新模組時,$[officename] Basic 會自動插入一個名為「Main」的 SUB。這個標準名稱與 $[officename] Basic 專案的順序和起始點無關。您也可以為 SUB 重新命名,而不會帶來問題。"
+msgid "When you create a new module, %PRODUCTNAME Basic automatically inserts a <literal>Sub</literal> called \"<literal>Main</literal>\". This default name has nothing to do with the order or the starting point of a %PRODUCTNAME Basic project. You can also safely rename this <literal>Sub</literal>routine."
+msgstr ""
-#. gBGwp
+#. NBySN
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id314756320\n"
"help.text"
-msgid "Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library."
-msgstr "公開變數、程序、函式的名稱有使用限制。不能用和所處函式庫中的模組名稱相同的名稱。"
+msgid "Some restrictions apply for the names of your public variables, subroutines, functions and properties. You must not use the same name as one of the modules of the same library."
+msgstr ""
-#. 9BCPY
+#. EB6uP
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3154124\n"
"help.text"
-msgid "Procedures (SUBS) and functions (FUNCTIONS) help you maintaining a structured overview by separating a program into logical pieces."
-msgstr "程序 (SUB) 和函式 (FUNCTION) 可以協助您將一個程式分割為若干邏輯片段,從而使程式保持結構化。"
+msgid "Procedures (<literal>Sub</literal>routines) functions (<literal>Function</literal>) and properties (<literal>Property</literal>) help you maintaining a structured overview by separating a program into logical pieces."
+msgstr ""
-#. MEnjF
+#. UXRyF
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3153193\n"
"help.text"
-msgid "One benefit of procedures and functions is that, once you have developed a program code containing task components, you can use this code in another project."
-msgstr "使用程序和函式的一個好處是,為某個專案開發的含有任務程式元件的程式碼,同樣可以用於其他專案。"
+msgid "One benefit of procedures, functions and properties is that, once you have developed a program code containing task components, you can use this code in another project."
+msgstr ""
-#. RRGcf
+#. EZYXi
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"hd_id3153770\n"
"help.text"
-msgid "Passing Variables to Procedures (SUB) and Functions (FUNCTION)"
-msgstr "向程序 (SUB) 和函式 (FUNCTION) 傳送變數"
+msgid "Passing Variables to Procedures, Functions or Properties"
+msgstr ""
-#. EBt2H
+#. v9JPn
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3155414\n"
"help.text"
-msgid "Variables can be passed to both procedures and functions. The SUB or FUNCTION must be declared to expect parameters:"
-msgstr "可以向程序和函式傳送變數,但必須在 SUB 或 FUNCTION 中宣告所需的參數:"
+msgid "Variables can be passed to both procedures, functions or properties. The <literal>Sub</literal> <literal>Function</literal> or <literal>Property</literal> must be declared to expect parameters:"
+msgstr ""
-#. zqJQF
+#. BUURm
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3151114\n"
"help.text"
-msgid "Program code"
-msgstr "程式碼"
+msgid "' your code goes here"
+msgstr ""
-#. AZFAK
+#. BG6rr
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3152577\n"
"help.text"
-msgid "The SUB is called using the following syntax:"
-msgstr "呼叫 SUB 時使用以下語法:"
+msgid "The <literal>Sub</literal> is called using the following syntax:"
+msgstr ""
-#. ZNaQd
+#. 5SdpG
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3147124\n"
"help.text"
-msgid "The parameters passed to a SUB must fit to those specified in the SUB declaration."
-msgstr "傳送到 SUB 的參數必須適合 SUB 宣告中指定的參數。"
+msgid "The parameters passed to a <literal>Sub</literal> must fit to those specified in the <literal>Sub</literal> declaration."
+msgstr ""
-#. WCghM
+#. Zxxix
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3147397\n"
"help.text"
-msgid "The same process applies to FUNCTIONS. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:"
-msgstr "同樣的情況也適用於 FUNCTION,以便傳回函式結果。透過指定函式名稱,並指定該函式傳回值的參數,可以在函式結束之前直接定義傳回結果。(請參閱示例)。"
+msgid "The same process applies to a <literal>Function</literal>. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:"
+msgstr ""
-#. qEdLG
+#. uhFkG
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3156284\n"
"help.text"
-msgid "Program code"
-msgstr "程式碼"
-
-#. rGBQg
-#: 01020300.xhp
-msgctxt ""
-"01020300.xhp\n"
-"par_id3145799\n"
-"help.text"
-msgid "FunctionName=Result"
+msgid "' your code goes here"
msgstr ""
-#. FJDDJ
+#. TwrZp
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3153839\n"
"help.text"
-msgid "The FUNCTION is called using the following syntax:"
-msgstr "呼叫 FUNCTION 時使用以下語法:"
+msgid "The <literal>Function</literal> is called using the following syntax:"
+msgstr ""
#. yBxwK
#: 01020300.xhp
@@ -2806,14 +2797,50 @@ msgctxt ""
msgid "Variable=FunctionName(Parameter1, Parameter2,...)"
msgstr "Variable=FunctionName(Parameter1, Parameter2,...)"
-#. C63og
+#. 33Sss
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"par_id981584288549909\n"
+"help.text"
+msgid "Properties combine the syntax of procedures and functions. A property usually requires up to one parameter."
+msgstr ""
+
+#. QCQAn
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id961584288948497\n"
+"help.text"
+msgid "' your code goes here"
+msgstr ""
+
+#. meaRY
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id921584288951588\n"
+"help.text"
+msgid "' your code goes here"
+msgstr ""
+
+#. 257BA
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"par_id3153389\n"
+"help.text"
+msgid "The <literal>Property</literal> is called using the following syntax:"
+msgstr ""
+
+#. DLdom
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_idN107B3\n"
"help.text"
-msgid "You can also use the fully qualified name to call a procedure or function:<br/> <item type=\"literal\">Library.Module.Macro()</item> <br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/> <item type=\"literal\">Gimmicks.AutoText.Main()</item>"
-msgstr "您也可以使用完全合格的名稱來呼叫程序或函式:<br/><item type=\"literal\">Library.Module.Macro()</item><br/> 例如,若要從 Gimmicks 函式庫呼叫 Autotext 巨集,請使用下列指令:<br/><item type=\"literal\">Gimmicks.AutoText.Main()</item>"
+msgid "You can also use the fully qualified name to call a procedure, function or property:<br/> <literal>Library.Module.Macro()</literal> <br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/> <item type=\"literal\">Gimmicks.AutoText.Main()</item>"
+msgstr ""
#. 2xj8g
#: 01020300.xhp
@@ -2824,41 +2851,113 @@ msgctxt ""
msgid "Passing Variables by Value or Reference"
msgstr "透過值或參照傳送變數"
-#. 9u3qj
+#. d2PgC
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3155765\n"
"help.text"
-msgid "Parameters can be passed to a SUB or a FUNCTION either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a SUB or a FUNCTION gets the parameter and can read and modify its value."
-msgstr "可以透過參照或值將參數傳送到 SUB 或 FUNCTION。除非特別指定,參數通常透過參照傳送。這表示 SUB 或 FUNCTION 可以取得該參數,並且可以讀取和修改參數值。"
+msgid "Parameters can be passed to a procedure, a function or a property either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a <literal>Sub</literal>, a <literal>Function</literal> or a <literal>Property</literal> gets the parameter and can read and modify its value."
+msgstr ""
-#. kwAaU
+#. uk84S
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3145640\n"
"help.text"
-msgid "If you want to pass a parameter by value insert the key word \"ByVal\" in front of the parameter when you call a SUB or FUNCTION, for example:"
-msgstr "如果要透過值傳送參數,請在呼叫 SUB 或 FUNCTION 時,在參數前插入關鍵字「ByVal」,例如:"
+msgid "If you want to pass a parameter by value insert the key word <literal>ByVal</literal> in front of the parameter when you call a <literal>Sub</literal>, a <literal>Function</literal> or a <literal>Property</literal>, for example:"
+msgstr ""
-#. BQ2AC
+#. Vzu4F
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3150042\n"
"help.text"
-msgid "Result = Function(ByVal Parameter)"
+msgid "Function ReadOnlyParms(ByVal p2, ByVal p2)"
msgstr ""
-#. w6j4F
+#. pojXe
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id81584367761978\n"
+"help.text"
+msgid "' your code goes here"
+msgstr ""
+
+#. MGPNc
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id131584367516784\n"
+"help.text"
+msgid "End Function"
+msgstr ""
+
+#. bz6EJ
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id801584367475787\n"
+"help.text"
+msgid "result = ReadOnlyParms(parm1, parm2)"
+msgstr ""
+
+#. WF4ND
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3149258\n"
"help.text"
-msgid "In this case, the original content of the parameter will not be modified by the FUNCTION since it only gets the value and not the parameter itself."
-msgstr "在此種情況下,FUNCTION 不會修改參數原來的內容,因為它得到的只是參數值而不是參數本身。"
+msgid "In this case, the original content of the parameter will not be modified by the <literal>Function</literal> since it only gets the value and not the parameter itself."
+msgstr ""
+
+#. AEhBY
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"hd_id161584366585035\n"
+"help.text"
+msgid "Defining Optional Parameters"
+msgstr ""
+
+#. 4Ghzx
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"par_id31584367006971\n"
+"help.text"
+msgid "Functions, procedures or properties can be defined with optional parameters, for example:"
+msgstr ""
+
+#. qBTxH
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id761584366669997\n"
+"help.text"
+msgid "Sub Rounding(number, Optional decimals, Optional format)"
+msgstr ""
+
+#. JKj8y
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id111584366809406\n"
+"help.text"
+msgid "' your code goes here"
+msgstr ""
+
+#. NtvTc
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"bas_id251584366745722\n"
+"help.text"
+msgid "End Sub"
+msgstr ""
#. EHCCS
#: 01020300.xhp
@@ -2869,23 +2968,23 @@ msgctxt ""
msgid "Scope of Variables"
msgstr "變數的作用範圍"
-#. ACpw7
+#. LDC8M
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3149814\n"
"help.text"
-msgid "A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a \"local\" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited."
-msgstr "在 SUB 或 FUNCTION 內定義的變數僅在該程序結束之前有效。此變數稱為「區域」變數。許多情況下,您需要在所有程序中、所有程式庫的各個模組中有效或 SUB 或 FUNCTION 結束後仍然有效的變數。"
+msgid "A variable defined within a <literal>Sub</literal>, a <literal>Function</literal> or a <literal>Property</literal>, only remains valid until the procedure is exited. This is known as a \"local\" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a <literal>Sub</literal>, a <literal>Function</literal> or a <literal>Property</literal> is exited."
+msgstr ""
-#. pJBLq
+#. pVU4G
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"hd_id3154186\n"
"help.text"
-msgid "Declaring Variables Outside a SUB or FUNCTION"
-msgstr "在 SUB 或 FUNCTION 之外宣告變數"
+msgid "Declaring Variables Outside a <literal>Sub</literal> a <literal>Function</literal> or a <literal>Property</literal>"
+msgstr ""
#. Q3jEW
#: 01020300.xhp
@@ -2896,14 +2995,14 @@ msgctxt ""
msgid "Global VarName As TYPENAME"
msgstr "GLOBAL VarName As TYPENAME"
-#. YZx8i
+#. 5JwAY
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3145258\n"
"help.text"
-msgid "The variable is valid as long as the $[officename] session lasts."
-msgstr "只要 $[officename] 階段作業未結束,變數就有效。"
+msgid "The variable is valid as long as the %PRODUCTNAME session lasts."
+msgstr ""
#. CSDs2
#: 01020300.xhp
@@ -2968,14 +3067,14 @@ msgctxt ""
msgid "Example for private variables"
msgstr "private 變數的範例"
-#. aBAXu
+#. mGb2g
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id8738975\n"
"help.text"
-msgid "Enforce private variables to be private across modules by setting CompatibilityMode(true)."
-msgstr "設定 CompatibilityMode(true) 以強制 private 變數在模組間為私有。"
+msgid "Enforce private variables to be private across modules by setting <literal>CompatibilityMode(True)</literal>."
+msgstr ""
#. 8dZEJ
#: 01020300.xhp
@@ -3022,14 +3121,14 @@ msgctxt ""
msgid "Print \"Now in module2 : \", myText"
msgstr "print \"Now in module2 : \", myText"
-#. fEECM
+#. iExop
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"hd_id3154368\n"
"help.text"
-msgid "Saving Variable Content after Exiting a SUB or FUNCTION"
-msgstr "結束 SUB 或 FUNCTION 後儲存變數內容"
+msgid "Saving Variable Content after Exiting a <literal>Sub</literal> a <literal>Function</literal> or a <literal>Property</literal>"
+msgstr ""
#. qV9Bm
#: 01020300.xhp
@@ -3040,32 +3139,59 @@ msgctxt ""
msgid "Static VarName As TYPENAME"
msgstr "STATIC VarName As TYPENAME"
-#. iWJLu
+#. hAB34
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3154486\n"
"help.text"
-msgid "The variable retains its value until the next time the FUNCTION or SUB is entered. The declaration must exist inside a SUB or a FUNCTION."
-msgstr "變數保留其值,直到下次進入 FUNCTION 或 SUB。該宣告必須位於 SUB 或 FUNCTION 中。"
+msgid "The variable retains its value until the next time the a <literal>Function</literal>, <literal>Sub</literal> or <literal>Property</literal> is entered. The declaration must exist inside a <literal>Sub</literal>, a <literal>Function</literal> or a <literal>Property</literal>."
+msgstr ""
-#. x7TCE
+#. 9inFk
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"hd_id3155809\n"
"help.text"
-msgid "Specifying the Return Value Type of a FUNCTION"
-msgstr "指定 FUNCTION 的傳回值類型"
+msgid "Specifying the Return Value Type of a <literal>Function</literal> or a <literal>Property</literal>"
+msgstr ""
-#. BqFmH
+#. BjLGj
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"par_id3149404\n"
"help.text"
-msgid "As with variables, include a type-declaration character after the function name, or the type indicated by \"As\" and the corresponding key word at the end of the parameter list to define the type of the function's return value, for example:"
-msgstr "與變數一樣,函式名稱後必須含有類型宣告字元或由「As」與相應關鍵字 (位於參數清單結尾處) 指示的類型,以定義函式傳回值的類型。例如:"
+msgid "As with variables, include a type-declaration character after the function name, or the type indicated by <literal>As</literal> and the corresponding data type at the end of the parameter list to define the type of the function or property's return value, for example:"
+msgstr ""
+
+#. t7xWM
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"N0237\n"
+"help.text"
+msgid "<link href=\"text/sbasic/shared/03104100.xhp\" name=\"Optional keyword\">Optional keyword</link>"
+msgstr ""
+
+#. JCc9m
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"N0238\n"
+"help.text"
+msgid "<link href=\"text/sbasic/shared/property.xhp\" name=\"Property Statement\">Property Statement</link>"
+msgstr ""
+
+#. CcJXo
+#: 01020300.xhp
+msgctxt ""
+"01020300.xhp\n"
+"N0239\n"
+"help.text"
+msgid "<link href=\"text/sbasic/shared/03103500.xhp\" name=\"Static Statement\">Static Statement</link>"
+msgstr ""
#. HrqsB
#: 01020500.xhp
@@ -24011,14 +24137,23 @@ msgctxt ""
msgid "Syntax:"
msgstr "<emph>語法</emph>:"
-#. 5VbSr
+#. CXLBw
+#: 03090401.xhp
+msgctxt ""
+"03090401.xhp\n"
+"par_id491585753339474\n"
+"help.text"
+msgid "<image src=\"media/helpimg/sbasic/Call_statement.svg\" id=\"img_id4156296484514\"><alt id=\"alt_id15152796484514\">Call Statement diagram</alt></image>"
+msgstr ""
+
+#. zeXDB
#: 03090401.xhp
msgctxt ""
"03090401.xhp\n"
"par_id3150984\n"
"help.text"
-msgid "[Call] Name [Parameter]"
-msgstr "[Call]Name[Parameter]"
+msgid "[Call] name [(] [param :=] value, ... [)]"
+msgstr ""
#. 5MBBJ
#: 03090401.xhp
@@ -24029,23 +24164,23 @@ msgctxt ""
msgid "Parameters:"
msgstr "參數:"
-#. dpEmD
+#. dbwfN
#: 03090401.xhp
msgctxt ""
"03090401.xhp\n"
"par_id3148473\n"
"help.text"
-msgid "<emph>Name:</emph> Name of the subroutine, the function, or the DLL that you want to call"
-msgstr "<emph>Name:</emph>要呼叫的子常式、函式或 DLL 程序的名稱。"
+msgid "<emph>name:</emph> Name of the subroutine, the function, or the DLL that you want to call"
+msgstr ""
-#. hWBjx
+#. iFYrJ
#: 03090401.xhp
msgctxt ""
"03090401.xhp\n"
"par_id3148946\n"
"help.text"
-msgid "<emph>Parameter:</emph> Parameters to pass to the procedure. The type and number of parameters is dependent on the routine that is executing."
-msgstr "<emph>Parameter:</emph>傳送給程序的參數,程式的類型和數目取決於所執行的常式。"
+msgid "<emph>param:</emph> Parameters to pass to the procedure. The keyword, type and number of parameters is dependent on the routine that is being called."
+msgstr ""
#. 4LVmZ
#: 03090401.xhp
@@ -39680,6 +39815,276 @@ msgctxt ""
msgid "<ahelp hid=\"SFX2_LISTBOX_RID_SFX_TP_MACROASSIGN_LB_SCRIPTTYPE\">Select the macro that you want to assign.</ahelp>"
msgstr "<ahelp hid=\"SFX2_LISTBOX_RID_SFX_TP_MACROASSIGN_LB_SCRIPTTYPE\" visibility=\"visible\">選取要指定的巨集。</ahelp>"
+#. ZbXw2
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"tit\n"
+"help.text"
+msgid "Err VBA Object"
+msgstr ""
+
+#. iHP2L
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0010\n"
+"help.text"
+msgid "<bookmark_value>Err object</bookmark_value> <bookmark_value>Error;raising</bookmark_value> <bookmark_value>Error;handling</bookmark_value>"
+msgstr ""
+
+#. pPqhS
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0011\n"
+"help.text"
+msgid "<variable id=\"ErrVBAh1\"><link href=\"text/sbasic/shared/ErrVBA.xhp\" name=\"Err object [VBA]\">Err Object [VBA]</link></variable>"
+msgstr ""
+
+#. KxDJt
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0012\n"
+"help.text"
+msgid "Use VBA <literal>Err</literal> object to raise or handle runtime errors. <literal>Err</literal> is a VBA built-in global object which permits:"
+msgstr ""
+
+#. VpE8g
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0013\n"
+"help.text"
+msgid "to raise predefined Basic errors"
+msgstr ""
+
+#. tFEYq
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0014\n"
+"help.text"
+msgid "to throw user-defined exceptions"
+msgstr ""
+
+#. BeB2y
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0015\n"
+"help.text"
+msgid "to name the routine originating the error"
+msgstr ""
+
+#. 5FhxC
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0016\n"
+"help.text"
+msgid "to describe the error and possible solutions"
+msgstr ""
+
+#. AbB9s
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0017\n"
+"help.text"
+msgid "VBA <literal>Err</literal> object has the following properties and methods:"
+msgstr ""
+
+#. ivkYo
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0018\n"
+"help.text"
+msgid "Properties"
+msgstr ""
+
+#. UG8Cx
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0020\n"
+"help.text"
+msgid "<emph>Description</emph> property gives the nature of the error. It details the various reasons that may cause the error. Ideally it provides the multiple course of actions that help solve the issue and prevent its reoccurrence. Its alias is Basic <link href=\"text/sbasic/shared/03050300.xhp\" name=\"Error function\">Error</link> function for %PRODUCTNAME predefined errors."
+msgstr ""
+
+#. PjWUG
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0022\n"
+"help.text"
+msgid "This the error code associated with the error. <literal>Err</literal> object default property is <emph>Number</emph>. Its alias is %PRODUCTNAME Basic <link href=\"text/sbasic/shared/03050200.xhp\" name=\"Err\">Err</link> function."
+msgstr ""
+
+#. NJEmn
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0024\n"
+"help.text"
+msgid "<emph>Source</emph> indicates the name of the routine that produces the error. <emph>Source</emph> is an option for user-defined errors."
+msgstr ""
+
+#. MuyUY
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0025\n"
+"help.text"
+msgid "Methods"
+msgstr ""
+
+#. 8sWBq
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0027\n"
+"help.text"
+msgid "Resets description, <link href=\"text/sbasic/shared/03050100.xhp\" name=\"error line\">Erl</link>, number and source properties of current error. Its alias is %PRODUCTNAME Basic <link href=\"text/sbasic/shared/03050500.xhp\" name=\"Resume statement\">Resume</link> statement."
+msgstr ""
+
+#. UEGkA
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0029\n"
+"help.text"
+msgid "Throws user-defined errors or predefined errors. Its alias is %PRODUCTNAME Basic <link href=\"text/sbasic/shared/03050200.xhp\" name=\"Error statement\">Error</link> statement."
+msgstr ""
+
+#. EyCJv
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0030\n"
+"help.text"
+msgid "Parameters"
+msgstr ""
+
+#. 6Rdnc
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0031\n"
+"help.text"
+msgid "<emph>Number</emph> A user-defined or predefined error code to be raised."
+msgstr ""
+
+#. DoFG8
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0032\n"
+"help.text"
+msgid "Error code range 0-2000 is reserved for %PRODUCTNAME Basic. User-defined errors may start from higher values in order to prevent collision with %PRODUCTNAME Basic future developments."
+msgstr ""
+
+#. qoAQE
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0033\n"
+"help.text"
+msgid "<emph>Source</emph> The name of the routine raising the error. A name in the form of \"myLibrary.myModule.myProc\" is recommended."
+msgstr ""
+
+#. kukgW
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0034\n"
+"help.text"
+msgid "<emph>Description</emph> A description of the problem leading to stop the running process, accompanied with the various reasons that may cause it. A detailed list of the possible course of actions that may help solve the problem is recommended."
+msgstr ""
+
+#. 3XjnB
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0041\n"
+"help.text"
+msgid "Err.Raise 2020, Description:=\"This is an intented user-defined error …\""
+msgstr ""
+
+#. vuP6g
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0045\n"
+"help.text"
+msgid "errTitle = \"Error \"& Err &\" at line \"& Erl &\" in \"& Err.Source"
+msgstr ""
+
+#. ZXCWy
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0050\n"
+"help.text"
+msgid "Exception ClassModule"
+msgstr ""
+
+#. RK2AX
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0049\n"
+"help.text"
+msgid "A short <link href=\"text/sbasic/shared/classmodule.xhp\" name=\"ClassModule option\">ClassModule</link>, that wraps VBA <literal>Err</literal> object, can distribute <literal>Err</literal> properties and methods for standard %PRODUCTNAME Basic modules."
+msgstr ""
+
+#. tECEu
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0069\n"
+"help.text"
+msgid "Example"
+msgstr ""
+
+#. oA4pq
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0078\n"
+"help.text"
+msgid "\"Any multi-line description for this user-defined exception\")"
+msgstr ""
+
+#. hzLgR
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0079\n"
+"help.text"
+msgid "' your code goes here …"
+msgstr ""
+
+#. wEaa3
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0083\n"
+"help.text"
+msgid "errTitle = \"Error \"& Exc.Number &\" at line \"& Erl &\" in \"& Exc.Source"
+msgstr ""
+
+#. kBsGp
+#: ErrVBA.xhp
+msgctxt ""
+"ErrVBA.xhp\n"
+"N0088\n"
+"help.text"
+msgid "The <link href=\"text/sbasic/shared/03050300.xhp\" name=\"Error statement\">Error</link> statement or an Exception-like class module can be used interchangeably, while the latter adds extra features."
+msgstr ""
+
#. h6V9P
#: GetPathSeparator.xhp
msgctxt ""
@@ -41237,22 +41642,22 @@ msgctxt ""
msgid "Mathematical Functions"
msgstr ""
-#. yF8TC
+#. G2UxD
#: special_vba_func.xhp
msgctxt ""
"special_vba_func.xhp\n"
"bm_id051920170359045662\n"
"help.text"
-msgid "<bookmark_value>VBA Functions;Object Functions</bookmark_value>"
+msgid "<bookmark_value>VBA Functions;Object Properties and Methods</bookmark_value>"
msgstr ""
-#. 5DGSe
+#. puram
#: special_vba_func.xhp
msgctxt ""
"special_vba_func.xhp\n"
"hd_id051920170347039686\n"
"help.text"
-msgid "Object Functions"
+msgid "Object Properties and Methods"
msgstr ""
#. ZEw4t