+
| 引数 | 型 | | 説明 |
| ------------ | ---- | :-------------------------: | --------------------- |
| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス |
| 戻り値 | Real | <- | コレクション要素の値の合計 |
+
#### 説明
@@ -3364,12 +3499,15 @@ $col3:=$col.sort(Formula(String($1.value)
+
+
| 引数 | 型 | | 説明 |
| ----- | -------------------------------------- | :-------------------------: | ---------------- |
| value | Text, Number, Object, Collection, Date | -> | コレクションの先頭に挿入する値 |
| 戻り値 | Collection | <- | 要素の追加された元のコレクション |
| | | | |
+
#### 説明
diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md
index 5ca092fcbc48af..272b17733a46fc 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md
+++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md
@@ -112,12 +112,15 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する
+
+
| 引数 | 型 | | 説明 |
| ------------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------- |
| thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト |
| formulaParams | Collection | -> | フォーミュラが実行される際に $1...$n として渡される値のコレクション |
| 戻り値 | any | <- | フォーミュラの実行結果 |
+
#### 説明
@@ -168,16 +171,19 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する
-**.call**() : any
**.call**( *thisObj* : Object { ; ...*params* : any } ) : any
+**.call**() : any
**.call**( *thisObj* : Object { ; *...params* : any } ) : any
+
+
| 引数 | 型 | | 説明 |
| ------- | ------ | --------------------------- | ------------------------------------------------------------------------------- |
| thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト |
| params | any | -> | フォーミュラが実行される際に $1...$n として渡される値 |
| 戻り値 | any | <- | フォーミュラの実行結果 |
+
#### 説明
diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md
index b93dd91c1d9488..0a1ba70d2d471a 100644
--- a/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md
+++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md
@@ -241,15 +241,15 @@ exposed Function authenticate($identifier : Text; $password : Text)->$result : T
:::note Qodly Studio
-In Qodly Studio for 4D, the login mode can be set using the [**Force login** option](https://developer.4d.com/qodly/4DQodlyPro/force-login) in the Roles and Privileges panel.
+Qodly Studio for 4D においては、ログインモードはRoles and Privileges パネルの [**Force login** オプション](https://developer.4d.com/qodly/4DQodlyPro/force-login) を使用することで設定することが可能です。
:::
## 制限モード
-The `restrictedByDefault` property configures how every [resource](#resources) are accessed when [no specific permission is defined for it](#permissions):
+`restrictedByDefault` プロパティは、[リソース](#resources) に対して[特定のパーミッションが定義されていない時](#パーミッション) にどのようにしてそれにアクセスできるかを設定します:
-- **Unrestricted mode** (`restrictedByDefault`: **false**): Resources without defined permissions are accessible to all requests. This mode is suitable for development environments where access can be gradually restricted.
+- **無制限モード** (`restrictedByDefault`: **false**): リソースに対して定義されたパーミッションがなくても、全てのリクエストがそれにアクセス可能です。 This mode is suitable for development environments where access can be gradually restricted.
- **Restricted mode** (`restrictedByDefault`: **true**): Resources without defined permissions are blocked by default. This mode is recommended for production environments where access must be explicitly granted.
:::note 互換性
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md
index ca75778cf316a8..7724f9bf50d28a 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md
@@ -141,7 +141,7 @@ Essa propriedade é **somente leitura**.
-**.new**( { ...*param* : any } ) : 4D.Object
+**.new**( { *...param* : any } ) : 4D.Object
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md
index 55bdd93689d2cd..c4e83b78cfe107 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md
@@ -283,7 +283,7 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
-**.concat**( *value* : any { ; ...*valueN* } ) : Collection
+**.concat**( *value* : any { ; *...valueN* } ) : Collection
@@ -941,7 +941,7 @@ Em caso de inconsistências, as regras abaixos são seguidas:
-**.filter**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
**.filter**( *methodName* : Text { ; ...*param* : any } ) : Collection
+**.filter**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
**.filter**( *methodName* : Text { ; *...param* : any } ) : Collection
@@ -1030,7 +1030,7 @@ Se quiser filtrar elementos de acordo com seu tipo de valor:
-**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : any
**.find**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : any
+**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : any
**.find**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : any
@@ -1122,7 +1122,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046
-**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Integer
**.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Integer
+**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Integer
**.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Integer
@@ -1301,7 +1301,7 @@ $col.flat(MAXLONG)
-**.flatMap**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
**.flatMap**( *methodName* : Text { ; ...*param* : any } ) : Collection
+**.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
**.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection
@@ -1523,7 +1523,7 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
-**.indices**( *queryString* : Text { ; ...*value* : any } ) : Collection
+**.indices**( *queryString* : Text { ; *...value* : any } ) : Collection
@@ -1821,7 +1821,7 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar
-**.map**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
**.map**( *methodName* : Text { ; ...*param* : any } ) : Collection
+**.map**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
**.map**( *methodName* : Text { ; *...param* : any } ) : Collection
@@ -2272,7 +2272,7 @@ Ordenar com uma rota de propriedade:
-**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection
+**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection
@@ -2484,7 +2484,7 @@ Você deseja ordenar a coleção resultante:
-**.query**( *queryString* : Text ) : Collection
**.query**( *queryString* : Text ; ...*value* : any ) : Collection
**.query**( *queryString* : Text ; *querySettings* : Object ) : Collection
+**.query**( *queryString* : Text ) : Collection
**.query**( *queryString* : Text ; *...value* : any ) : Collection
**.query**( *queryString* : Text ; *querySettings* : Object ) : Collection
@@ -2788,7 +2788,7 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`.
-**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
**.reduce**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any
+**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
**.reduce**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any
@@ -2876,7 +2876,7 @@ Com o seguinte método ***Flatten***:
-**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
**.reduceRight**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any
+**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
**.reduceRight**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any
@@ -3224,7 +3224,7 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os
-**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Boolean
**.some**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Boolean
+**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Boolean
**.some**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Boolean
@@ -3307,7 +3307,7 @@ Quer saber se pelo menos um valor de coleção é >0.
-**.sort**() : Collection
**.sort**( *ascOrDesc* : Integer ) : Collection
**.sort**( *formula* : 4D.Function { ; ...*extraParam* : any } ) : Collection
**.sort**( *methodName* : Text { ; ...*extraParam* : any } ) : Collection
+**.sort**() : Collection
**.sort**( *ascOrDesc* : Integer ) : Collection
**.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection
**.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md
index 6d903e90ce897b..9dc00061492e45 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md
@@ -899,7 +899,7 @@ Quando criada, a seleção de entidades não contém nenhuma entidade (`mySelect
-**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
**.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection
+**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
**.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md
index 7e61c37e486af7..3550bc8f0b7170 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md
@@ -893,7 +893,7 @@ Exemplo com a opção `dk stop dropping on first error`:
-**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
**.extract**( ...*attributePath* : Text ; ...*targetPath* : Text ) : Collection
+**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
**.extract**( *...attributePath* : Text ; *...targetPath* : Text ) : Collection
@@ -1817,7 +1817,7 @@ Neste exemplo, o campo de objeto "marks" na classe de dados **Students** contém
-**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
**.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection
+**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
**.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md
index 9cc110f91bc604..5bbbe75e703b99 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md
@@ -171,7 +171,7 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que os parâmetros s
-**.call**() : any
**.call**( *thisObj* : Object { ; ...*params* : any } ) : any
+**.call**() : any
**.call**( *thisObj* : Object { ; *...params* : any } ) : any
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md
index 05378e11edbe70..78dd05b986b02c 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md
@@ -423,5 +423,5 @@ The following conventions are used in the 4D language documentation:
- os caracteres `{ }` (chaves) indicam parâmetros opcionais. Por exemplo, `.delete( { option : Integer } )` significa que o parâmetro *option* pode ser omisso ao chamar a função.
- the `any` keyword is used for parameters that can be of any type (number, text, boolean, date, time, object, collection...).
-- the `{; ...*param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function.
+- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function.
- the `{; ...(*param* : Type ; *param2* : Type) }` notation indicates an unlimited number of groups of parameters. For example, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` means that an unlimited number of couple values of type array/text can be passed to the command.
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md
index 2e353c729c642c..53674906c3483f 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md
@@ -4,7 +4,7 @@ title: WP Get attributes
displayed_sidebar: docs
---
-**WP Get attributes** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any ) : Object
**WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object
+**WP Get attributes** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any ) : Object
**WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md
index aa63ed8f3cc495..d94341d6bc09d0 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md
@@ -4,7 +4,7 @@ title: WP RESET ATTRIBUTES
displayed_sidebar: docs
---
-**WP RESET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; ...*attribName* : Text })
**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection})
+**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *...attribName* : Text })
**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection})
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md
index 14dacfddbe6bf7..2582d1dc38df66 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md
@@ -4,7 +4,7 @@ title: WP SET ATTRIBUTES
displayed_sidebar: docs
---
-**WP SET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any )
**WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object )
+**WP SET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any )
**WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object )
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md
index ce2825bdde289b..1173c8721f0af6 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md
@@ -4,7 +4,7 @@ title: WP Table append row
displayed_sidebar: docs
---
-**WP Table append row** ( *tableRef* : Object ; ...*value* : any ) : Object
**WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object
+**WP Table append row** ( *tableRef* : Object ; *...value* : any ) : Object
**WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md
index 1b9d0053e05ccb..cf0b0225f6a9e7 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md
@@ -4,15 +4,18 @@ title: Nova coleção
displayed_sidebar: docs
---
-**New collection** {( ...*value* : any )} : Collection
+**New collection** {( *...value* : any )} : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| --------- | ---------- | --------------------------- | ------------------------------------------ |
| value | any | → | Valor(es) de collection |
| Resultado | Collection | ← | Nova coleção |
+
## Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md
index d163b70a3d5fcc..09712d2565653e 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md
@@ -4,15 +4,18 @@ title: New shared collection
displayed_sidebar: docs
---
-**New shared collection** {( ...*value* : any )} : Collection
+**New shared collection** {( *...value* : any )} : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| --------- | ---------- | --------------------------- | -------------------------------- |
| value | any | → | Valores da collection compartida |
| Resultado | Collection | ← | New shared collection |
+
## Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md
index c0445f70e19440..e6c2a62d634a73 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md
@@ -70,12 +70,14 @@ Uma coleção se inicializa com:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------------------------------- |:--:| ----------------------------------------- |
-| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valor(es) de collection |
-| Resultados | Collection | <- | A nova coleção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)|
+|Result|Collection|<-|The new collection|
+
+
#### Descrição
@@ -151,12 +153,14 @@ Pode criar uma nova coleção e adicionar um novo elemento:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------------- |:--:| ------------------------------------------------------- |
-| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valores da collection compartida |
-| Resultados | Collection | <- | A nova coleção compartilhada|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)|
+|Result|Collection|<-|The new shared collection|
+
+
#### Descrição
@@ -212,12 +216,14 @@ Pode passar qualquer número de valores dos tipos compatíveis abaixo:
-| Parâmetro | Tipo | | Descrição |
-| ------------ | --------------- |:--:| --------------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real, Undefined | <- | Média aritmética dos valores coleção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for calculation|
+|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values|
+
+
#### Descrição
@@ -269,11 +275,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ------------------------------------------------------------------------------- |
-| Resultados | Collection | <- | Collection original com todos os elementos removidos|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|Collection|<-|Original collection with all elements removed|
+
+
#### Descrição
@@ -306,13 +314,15 @@ $vSize:=$col.length //$vSize=0
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------- |
-| col2 | Collection | -> | Collection a combinar |
-| index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) |
-| Resultados | Collection | <- | Collection original contendo elementos combinados|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|col2|Collection|->|Collection to combine|
+|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)|
+|Result|Collection|<-|Original collection containing combined element(s)|
+
+
#### Descrição
@@ -353,12 +363,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------------------------------------------- |
-| value | any | -> | Valores a concatenar. Se *value* for uma coleção, todos os elementos da coleção são adicionados para a coleção original |
-| Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection|
+|Result|Collection|<-|New collection with value(s) added to the original collection|
+
+
#### Descrição
@@ -396,14 +408,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---------- |:--:| ---------------------------------------------------------------------------------------------------------------- |
-| option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
`ck shared`: retorna uma coleção partilihada |
-| groupWithCol | Collection | -> | Coleção partilhada a ser agrupada com a coleção resultante |
-| groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante |
-| Resultados | Collection | <- | Cópia profunda da collection original|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
`ck shared`: return a shared collection|
+|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection|
+|groupWithObj |Object|->|Shared object to be grouped with the resulting collection|
+|Result|Collection|<-|Deep copy of the original collection|
+
+
#### Descrição
@@ -518,12 +532,14 @@ Esse exemplo ilustra o uso da opção `ck resolve pointers`:
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---- |:--:| --------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real | <- | Número de elementos na coleção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for calculation|
+|Result|Real|<-|Number of elements in the collection|
+
+
#### Descrição
@@ -563,13 +579,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath*. Nesse ca
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ---------------------------------------------------------- |
-| value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real | <- | Número de ocorrências do valor |
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count|
+|propertyPath|Text|->|Object property path to be used for calculation|
+|Result|Real|<-|Number of occurrences of the value |
+
+
#### Descrição
@@ -637,13 +655,15 @@ O parâmetro opcional *propertyPath* permite contar valores dentro de uma coleç
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---------- |:--:| -------------------------------------------------------------------- |
-| option | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) |
-| propertyPath | Text | -> | Rota do atributo cujos valores quer obter |
-| Resultados | Collection | <- | Nova coleção com apenas valores distintos|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)|
+|propertyPath|Text|->|Path of attribute whose distinct values you want to get|
+|Result|Collection|<-|New collection with only distinct values|
+
+
#### Descrição
@@ -687,13 +707,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath* para indi
-| Parâmetro | Tipo | | Descrição |
-| ----------- | ---------- |:--:| --------------------------------------------------------------------------- |
-| collection2 | Collection | -> | Coleção a comparar |
-| option | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) |
-| Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|collection2|Collection|->|Collection to compare|
+|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)
+|Result|Boolean|<-|True if collections are identical, false otherwise|
+
+
#### Descrição
@@ -748,14 +770,16 @@ Como padrão, uma avaliação não-diacrítica é realizada. Se quiser que a ava
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice para início do teste em |
-| methodName | Text | -> | Nome do método a chamar para o teste |
-| param | Mixed | -> | Parâmetro(s) a transmitir a methodName |
-| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom|Integer|->|Index to start the test at|
+|methodName|Text|->|Name of the method to call for the test|
+|param|Mixed|->|Parameter(s) to pass to methodName|
+|Result|Boolean|<-|True if all elements successfully passed the test|
+
+
#### Descrição
@@ -841,14 +865,16 @@ End if
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção |
-| targetpath | Text | -> | Rota de propriedade alvo ou nome propriedade |
-| option | Integer | -> | `ck keep null`: inclui propriedades null na coleção retornada (ignorado como padrão). Parâmetro ignorado se for passado *targetPath*. |
-| Resultados | Collection | <- | Nova collection contendo valores extraídos|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path whose values must be extracted to the new collection|
+|targetpath|Text|->|Target property path or property name|
+|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.|
+|Result|Collection|<-|New collection containing extracted values|
+
+
#### Descrição
@@ -909,14 +935,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------- |
-| value | number, Text, Collection, Object, Date, Boolean | -> | Valores preenchido |
-| startFrom | Integer | -> | Início do índice (incluído) |
-| end | Integer | -> | Final do índice (não incluído) |
-| Resultados | collection | <- | Coleção original com valores preenchidos|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|number, Text, Collection, Object, Date, Boolean|->|Filling value|
+|startFrom|Integer|->|Start index (included)|
+|end|Integer|->|End index (not included)|
+|Result|collection|<-|Original collection with filled values|
+
+
#### Descrição
@@ -961,13 +989,15 @@ Em caso de inconsistências, as regras abaixos são seguidas:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- |
-| methodName | Text | -> | Nome da função a chamar para filtrar a coleção |
-| param | Mixed | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* |
-| Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial)|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|methodName|Text|->|Name of the function to call to filter the collection|
+|param|Mixed|->|Parameter(s) to pass to *methodName*|
+|Result|Collection|<-|New collection containing filtered elements (shallow copy)|
+
+
#### Descrição
@@ -1051,14 +1081,16 @@ O código para ***TypeLookUp*** é:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------- |:--:| ----------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| methodName | Text | -> | Nome da função a chamar para a procura |
-| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* |
-| Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom|Integer|->|Index to start the search at|
+|methodName|Text|->|Name of the function to call for the find|
+|param|any|->|Parameter(s) to pass to *methodName*|
+|Result|any |<-|First value found, or Undefined if not found|
+
+
#### Descrição
@@ -1145,14 +1177,16 @@ O código do método ***FindCity*** é:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------- |:--:| -------------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| methodName | Text | -> | Nome da função a chamar para a procura |
-| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* |
-| Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom|Integer|->|Index to start the search at|
+|methodName|Text|->|Name of the function to call for the find|
+|param|any|->|Parameter(s) to pass to *methodName*|
+|Result|Integer |<-|Index of first value found, or -1 if not found|
+
+
#### Descrição
@@ -1220,13 +1254,15 @@ O código do método***FindCity***:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | --------- |:--:| ----------------------------------------------------------------------------------------------------- |
-| toSearch | expressão | -> | Expressão a pesquisar na coleção |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|toSearch|expression|->|Expression to search in the collection|
+|startFrom|Integer|->|Index to start the search at|
+|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found|
+
+
#### Descrição
@@ -1276,13 +1312,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
-| Parâmetro | Tipo | | Descrição |
-| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------- |
-| queryString | Text | -> | Critérios de pesquisa |
-| value | any | -> | Valores a comparar quando usar placeholders (valores temporários) |
-| Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|queryString|Text|->|Search criteria|
+|value|any|->|Value(s) to compare when using placeholder(s)|
+|Result|Collection |<-|Element index(es) matching queryString in the collection|
+
+
#### Descrição
@@ -1329,13 +1367,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, veja a f
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| --------------------------------------------------------------------------- |
-| index | Integer | -> | Onde inserir os elementos |
-| element | any | -> | Elemento a inserir na coleção |
-| Resultados | Collection | <- | Collection original contendo elementos inseridos|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|index|Integer|->|Where to insert the element|
+|element|any|->|Element to insert in the collection|
+|Result|Collection |<-|Original collection containing inserted element|
+
+
#### Descrição
@@ -1378,13 +1418,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------- |:--:| ------------------------------------------------------------------------------------------------------ |
-| delimiter | Text | -> | Separador a usar entre os elementos |
-| option | Integer | -> | `ck ignore null or empty`: ignora strings vazias ou nulls no resultado |
-| Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|delimiter|Text|->|Separator to use between elements|
+|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result|
+|Result|Text |<-|String containing all elements of the collection, separated by delimiter|
+
+
#### Descrição
@@ -1420,13 +1462,15 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re
-| Parâmetro | Tipo | | Descrição |
-| ---------- | --------- |:--:| --------------------------------------------------------------------------------------------------- |
-| toSearch | expressão | -> | O elemento que é pesquisado dentro da coleção |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|toSearch|expression|->|The element that is to be searched for within the collection|
+|startFrom|Integer|->|Index to start the search at|
+|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found|
+
+
#### Descrição
@@ -1501,13 +1545,15 @@ A propriedade `.length` é iniciada quando a coleção for criada. Adicionar ou
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| -------------------------------------------------------------- |
-| methodName | Text | -> | Nome do método usado para transformar os elementos da coleção |
-| param | any | -> | Parâmetros para o método |
-| Resultados | Collection | <- | Collection de valores transformados|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|methodName|Text|->|Name of method used to transform the collection elements|
+|param|any|->|Parameter(s) for the method|
+|Result|Collection |<-|Collection of transformed values|
+
+
#### Descrição
@@ -1561,12 +1607,14 @@ Aqui está o método ***Percentage***:
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
-| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo na coleção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for evaluation|
+|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection|
+
+
#### Descrição
@@ -1609,12 +1657,14 @@ Se a coleção estiver vazia, `.max()` devolve *Undefined*.
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
-| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo na coleção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for evaluation|
+|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection|
+
+
#### Descrição
@@ -1657,14 +1707,16 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*.
-| Parâmetro | Tipo | | Descrição |
-| ----------- | ---------- |:--:| ------------------------------------------------------------------------ |
-| pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção |
-| pathObjects | Collection | -> | Coleção de objetos criterio |
-| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
-| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|pathStrings|Text|->|Property path(s) on which to order the collection|
+|pathObjects|Collection|->|Collection of criteria objects|
+|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)|
+|Result|Collection |<-|Ordered copy of the collection (shallow copy)|
+
+
#### Descrição
@@ -1788,17 +1840,19 @@ Ordenar com uma rota de propriedade:
-**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection
+**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ------------------------------------------------------------------------ |
-| methodName | Text | -> | Nome do método utilizado para especificar a ordem de ordenação |
-| extraParam | expressão | -> | Parâmetros para o método |
-| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|methodName|Text|->|Name of method used to specify the sorting order|
+|extraParam|expression|->|Parameter(s) for the method |
+|Result|Collection |<-|Sorted copy of the collection (shallow copy)|
+
+
#### Descrição
@@ -1895,11 +1949,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0)
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---- |:--:| ----------------------------------------------------- |
-| Resultados | any | <- | Último elemento da coleção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|any |<-|Last element of collection|
+
+
#### Descrição
@@ -1939,12 +1995,14 @@ Quando for aplicado a uma coleção vazia, `.pop()` devolve ***undefined***.
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| --------------------------------------------------------------------------- |
-| element | Mixed | -> | Elementos a adicionar à coleção |
-| Resultados | Collection | <- | Collection original contendo elementos inseridos|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|element|Mixed|->|Element(s) to add to the collection|
+|Result|Collection |<-|Original collection containing added elements|
+
+
#### Descrição
@@ -1993,14 +2051,16 @@ Se quiser ordenar a coleção resultante:
-| Parâmetro | Tipo | | Descrição |
-| ------------- | ---------- |:--:| -------------------------------------------------------------------------------- |
-| queryString | Text | -> | Critérios de pesquisa |
-| value | Mixed | -> | Valores a comparar quando usar placeholders (valores temporários) |
-| querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos |
-| Resultados | Collection | <- | Elementos que correspondem com queryString na coleção|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|queryString|Text|->|Search criteria|
+|value|Mixed|->|Value(s) to compare when using placeholder(s)|
+|querySettings|Object|->|Query options: parameters, attributes|
+|Result|Collection |<-|Element(s) matching queryString in the collection|
+
+
#### Descrição
@@ -2094,14 +2154,16 @@ Mais exemplos de pesquisas podem ser encontrados na página `dataClass.query()`.
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------------------- |
-| methodName | Text | -> | Nome da função a chamar para processar os elementos da coleção |
-| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a ser usado como primeiro argumento da primeira chamada para *methodName* |
-| param | expressão | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* |
-| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|methodName |Text|->|Name of the function to call to process collection elements|
+|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *methodName*|
+|param |expression|->|Parameter(s) to pass to *methodName*|
+|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value|
+
+
#### Descrição
@@ -2179,13 +2241,15 @@ Este exemplo permite reduzir vários elementos da coleção a um só:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ---------------------------------------------------------------------- |
-| index | Integer | -> | Elemento no qual que se inicia a eliminação |
-| howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir |
-| Resultados | Collection | <- | Colección original sem elementos eliminados|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|index |Integer|->|Element at which to start removal|
+|howMany |Integer|->|Number of elements to remove, or 1 element if omitted|
+|Result|Collection|<-|Original collection without removed element(s)|
+
+
#### Descrição
@@ -2231,13 +2295,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------------- |
-| size | Integer | -> | Nova dimensão da colecção |
-| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor padrão para preencher novos elementos |
-| Resultados | Collection | <- | Colecção original redimensionada|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|size |Integer|->|New size of the collection|
+|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements|
+|Result|Collection|<-|Resized original collection|
+
+
#### Descrição
@@ -2286,11 +2352,13 @@ Por padrão, são preenchidos novos elementos **null** valores. Pode especificar
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ------------------------------------------------------ |
-| Resultados | Collection | <- | Cópia invertida da colecção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|Collection|<-|Inverted copy of the collection|
+
+
#### Descrição
@@ -2324,11 +2392,13 @@ A função `.reverse()` devolve uma c
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---- |:--:| -------------------------------------------------------- |
-| Resultados | any | <- | Primeiro elemento de colecção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|any|<-|First element of collection|
+
+
#### Descrição
@@ -2365,13 +2435,15 @@ Se a colecção estiver vazia, este método não faz nada.
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Início do índice (incluído) |
-| end | Integer | -> | Final do índice (não incluído) |
-| Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial)|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom |Integer |->|Start index (included)|
+|end |Integer |->|End index (not included)|
+|Result|Collection|<-|New collection containing sliced elements (shallow copy)|
+
+
#### Descrição
@@ -2413,14 +2485,16 @@ A colecção devolvida contém o elemento especificado por *startFrom* e todos o
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice para início do teste em |
-| methodName | Text | -> | Nome do método a chamar para o teste |
-| param | Mixed | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* |
-| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom |Integer |->|Index to start the test at|
+|methodName |Text |->|Name of the method to call for the test|
+|param |Mixed |->|Parameter(s) to pass to *methodName*|
+|Result|Boolean|<-|True if at least one element successfully passed the test|
+
+
#### Descrição
@@ -2488,12 +2562,15 @@ Com o seguinte método *NumberGreaterThan0*:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| -------------------------------------------------------------- |
-| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
-| methodName | Text | -> | Nome do método utilizado para especificar a ordem de ordenação |
-| extraParam | any | -> | Parâmetros para o método |
-| Resultados | Collection | <- | Colecção original ordenada |
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)|
+|methodName |Text |->|Name of method used to specify the sorting order|
+|extraParam |any |->|Parameter(s) for the method|
+|Result|Collection|<-|Original collection sorted|
+
#### Descrição
@@ -2581,12 +2658,14 @@ Se você deseja ordenar os elementos da coleção em alguma outra ordem ou class
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---- |:--:| ------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real | <- | Soma dos valores da colecção|
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath |Text |->|Object property path to be used for calculation|
+|Result|Real|<-|Sum of collection values|
+
+
#### Descrição
@@ -2641,13 +2720,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
-| Parâmetro | Tipo | | Descrição |
-| -------------------------- | -------------------------------------- |:--:| ------------------------------------------- |
-| value | Text, Number, Object, Collection, Date | -> | Valor(es) a inserir no início da colecção |
-| Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) |
-|
+
-| | | |
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection|
+|Result|Collection|<-|Collection containing added element(s)
+|
+
+
#### Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md
index 49406ae67478aa..60905d072597bd 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md
@@ -121,13 +121,14 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| --------------------------------------------------------------- |
-| formulaExp | Expression | -> | Fórmula a ser retornada como objeto |
-| Resultados | 4D. Function | <- | Função nativa encapsulando a fórmula|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formulaExp|Expression|->|Formula to be returned as object|
+|Result|4D.Function|<-|Native function encapsulating the formula|
+
+
#### Descrição
@@ -260,13 +261,14 @@ Chamar uma fórmula usando notação de objeto:
-| Parâmetro | Tipo | | Descrição |
-| ------------- | ------------ |:--:| --------------------------------------------------------------- |
-| formulaString | Text | -> | Fórmula texto a ser retornada como objeto |
-| Resultados | 4D. Function | <- | Objeto nativo encapsulando a fórmula|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formulaString|Text|->|Text formula to be returned as object|
+|Result|4D.Function|<-|Native object encapsulating the formula|
+
+
#### Descrição
@@ -319,14 +321,15 @@ O código abaixo cria um diálogo aceitando uma fórmula em formato texto:
-| Parâmetro | Tipo | | Descrição |
-| ------------- | ---------- |:--:| ------------------------------------------------------------------------------- |
-| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
-| formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado |
-| Resultados | any | <- | Valores de execução de fórmula|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|thisObj|Object|->|Object to be returned by the This command in the formula|
+|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed|
+|Result|any|<-|Value from formula execution|
+
+
#### Descrição
@@ -380,18 +383,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que parâmetros são
-**.call**() : any
**.call**( *thisObj* : Object { ; ...*params* : any } ) : any
+**.call**() : any
**.call**( *thisObj* : Object { ; *...params* : any } ) : any
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------ | -- | -------------------------------------------------------------------- |
-| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
-| params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada |
-| Resultados | any | <- | Valores de execução de fórmula|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---|---|---|---|
+|thisObj|Object|->|Object to be returned by the This command in the formula|
+|params |any|->|Value(s) to be passed as $1...$n when formula is executed|
+|Result|any|<-|Value from formula execution|
+
+
#### Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md
index 4b1ac73632b85b..26bd928ab26ae6 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md
@@ -83,13 +83,14 @@ Uma coleção se inicializa com:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------------------------------- |:--:| ----------------------------------------- |
-| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valor(es) de collection |
-| Resultados | Collection | <- | A nova coleção|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)|
+|Result|Collection|<-|The new collection|
+
+
#### Descrição
@@ -171,13 +172,14 @@ Pode criar uma nova coleção e adicionar um novo elemento:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------------- |:--:| ------------------------------------------------------- |
-| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valores da collection compartida |
-| Resultados | Collection | <- | A nova coleção compartilhada|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)|
+|Result|Collection|<-|The new shared collection|
+
+
#### Descrição
@@ -247,13 +249,14 @@ Diferente de coleções padrão (não partilhadas), coleções partilhadas não
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------- |:--:| -------------------------------------------------- |
-| index | Integer | -> | Índice de elemento a devolver |
-| Resultados | any | <- | O elemento nesse índice|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|index|Integer|->|Index of element to return|
+|Result|any |<-|The element at that index|
+
+
#### Descrição
@@ -295,14 +298,14 @@ $element:=$col.at(10) // undefined
-| Parâmetro | Tipo | | Descrição |
-| ------------ | --------------- |:--:| --------------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real, Undefined | <- | Média aritmética dos valores coleção|
-
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for calculation|
+|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values|
+
+
@@ -361,12 +364,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ------------------------------------------------------------------------------- |
-| Resultados | Collection | <- | Collection original com todos os elementos removidos|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|Collection|<-|Original collection with all elements removed|
+
+
#### Descrição
@@ -404,14 +408,15 @@ $vSize:=$col.length //$vSize=0
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------- |
-| col2 | Collection | -> | Collection a combinar |
-| index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) |
-| Resultados | Collection | <- | Collection original contendo elementos combinados|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|col2|Collection|->|Collection to combine|
+|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)|
+|Result|Collection|<-|Original collection containing combined element(s)|
+
+
#### Descrição
@@ -457,13 +462,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------------------------------------------- |
-| value | any | -> | Valores a concatenar. Se *value* for uma coleção, todos os elementos da coleção são adicionados para a coleção original |
-| Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection|
+|Result|Collection|<-|New collection with value(s) added to the original collection|
+
+
#### Descrição
@@ -506,15 +512,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---------- |:--:| ---------------------------------------------------------------------------------------------------------------- |
-| option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
`ck shared`: retorna uma coleção partilihada |
-| groupWithCol | Collection | -> | Coleção partilhada a ser agrupada com a coleção resultante |
-| groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante |
-| Resultados | Collection | <- | Cópia profunda da collection original|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
`ck shared`: return a shared collection|
+|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection|
+|groupWithObj |Object|->|Shared object to be grouped with the resulting collection|
+|Result|Collection|<-|Deep copy of the original collection|
+
+
#### Descrição
@@ -634,13 +641,14 @@ Esse exemplo ilustra o uso da opção `ck resolve pointers`:
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---- |:--:| --------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real | <- | Número de elementos na coleção|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for calculation|
+|Result|Real|<-|Number of elements in the collection|
+
+
#### Descrição
@@ -685,14 +693,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath*. Nesse ca
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ---------------------------------------------------------- |
-| value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real | <- | Número de ocorrências do valor |
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count|
+|propertyPath|Text|->|Object property path to be used for calculation|
+|Result|Real|<-|Number of occurrences of the value |
+
+
#### Descrição
@@ -770,14 +779,15 @@ O parâmetro opcional *propertyPath* permite contar valores dentro de uma coleç
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---------- |:--:| -------------------------------------------------------------------- |
-| propertyPath | Text | -> | Rota do atributo cujos valores quer obter |
-| options | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) |
-| Resultados | Collection | <- | Nova coleção com apenas valores distintos|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Path of attribute whose distinct values you want to get|
+|options|Integer|->|`ck diacritical`, `ck count values`|
+|Result|Collection|<-|New collection with only distinct values|
+
+
#### Descrição
@@ -833,14 +843,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath* para indi
-| Parâmetro | Tipo | | Descrição |
-| ----------- | ---------- |:--:| --------------------------------------------------------------------------- |
-| collection2 | Collection | -> | Coleção a comparar |
-| option | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) |
-| Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|collection2|Collection|->|Collection to compare|
+|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)
+|Result|Boolean|<-|True if collections are identical, false otherwise|
+
+
#### Descrição
@@ -901,16 +912,17 @@ Como padrão, uma avaliação não-diacrítica é realizada. Se quiser que a ava
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| ---------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice para início do teste em |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| param | Mixed | -> | *methodName* recebe os parâmetros abaixo: |
-| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom|Integer|->|Index to start the test at|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|param|Mixed|->|Parameter(s) to pass to *formula* or *methodName*|
+|Result|Boolean|<-|True if all elements successfully passed the test|
+
+
#### Descrição
@@ -992,15 +1004,16 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção |
-| targetpath | Text | -> | Rota de propriedade alvo ou nome propriedade |
-| option | Integer | -> | `ck keep null`: inclui propriedades null na coleção retornada (ignorado como padrão). Parâmetro ignorado se for passado *targetPath*. |
-| Resultados | Collection | <- | Nova collection contendo valores extraídos|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path whose values must be extracted to the new collection|
+|targetpath|Text|->|Target property path or property name|
+|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.|
+|Result|Collection|<-|New collection containing extracted values|
+
+
#### Descrição
@@ -1071,15 +1084,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------- |
-| value | number, Text, Collection, Object, Date, Boolean | -> | Valores preenchido |
-| startFrom | Integer | -> | Início do índice (incluído) |
-| end | Integer | -> | Final do índice (não incluído) |
-| Resultados | collection | <- | Coleção original com valores preenchidos|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value|number, Text, Collection, Object, Date, Boolean|->|Filling value|
+|startFrom|Integer|->|Start index (included)|
+|end|Integer|->|End index (not included)|
+|Result|collection|<-|Original collection with filled values|
+
+
#### Descrição
@@ -1131,15 +1145,16 @@ Em caso de inconsistências, as regras abaixos são seguidas:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| ---------------------------------------------------------------------------------------- |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| param | any | -> | *methodName* recebe os parâmetros abaixo: |
-| Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial)|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|param|any|->|Parameter(s) to pass to *formula* or *methodName*|
+|Result|Collection|<-|New collection containing filtered elements (shallow copy)|
+
+
#### Descrição
@@ -1220,16 +1235,17 @@ Se quiser filtrar elementos de acordo com seu tipo de valor:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| ----------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| param | any | -> | *methodName* recebe os parâmetros abaixo: |
-| Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom|Integer|->|Index to start the search at|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|param|any|->|Parameter(s) to pass to *formula* or *methodName*|
+|Result|any |<-|First value found, or Undefined if not found|
+
+
#### Descrição
@@ -1312,16 +1328,17 @@ var $c;$c2;$c3 : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| -------------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| param | any | -> | *methodName* recebe os parâmetros abaixo: |
-| Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom|Integer|->|Index to start the search at|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|param|any|->|Parameter(s) to pass to *formula* or *methodName*|
+|Result|Integer |<-|Index of first value found, or -1 if not found|
+
+
#### Descrição
@@ -1389,12 +1406,13 @@ var $c : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---- |:--:| -------------------------------------------------------- |
-| Resultados | any | <- | Primeiro elemento de colecção|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|any|<-|First element of collection|
+
+
#### Descrição
@@ -1432,13 +1450,14 @@ var $col : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------- |
-| depth | Integer | -> | A profundidade a que uma estrutura de colecção aninhada deve ser aplanada. O padrão=1 |
-| Resultados | Collection | <- | Colecção achatada|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|depth|Integer |->|How deep a nested collection structure should be flattened. Default=1|
+|Result|Collection |<-|Flattened collection|
+
+
#### Descrição
@@ -1488,14 +1507,16 @@ $col.flat(MAXLONG)
**.map**( *methodName* : Text { ; *...param* : any } ) : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| ----------------------------------------------------------------------------------------- |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| param | any | -> | *methodName* recebe os parâmetros abaixo: |
-| Resultados | Collection | <- | Collection of transformed values and flattened by a depth of 1|
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|param|any|->|Parameter(s) to pass to *formula* or *methodName*|
+|Result|Collection |<-|Collection of transformed values and flattened by a depth of 1|
+
+
#### Descrição
@@ -1581,14 +1602,15 @@ var $c; $c2 : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ----------------------------------------------------------- |
-| toSearch | expressão | -> | Expressão a pesquisar na coleção |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| Resultados | Parâmetros | <- | O código para ***TypeLookUp*** é:
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|toSearch|expression|->|Expression to search in the collection|
+|startFrom|Integer|->|Index to start the search at|
+|Result|Boolean |<-|True if *toSearch* is found in the collection|
+
+
#### Descrição
@@ -1645,15 +1667,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
-
-| Parâmetro | Tipo | | Descrição |
-| ---------- | --------- |:--:| ----------------------------------------------------------------------------------------------------- |
-| toSearch | expressão | -> | Expressão a pesquisar na coleção |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|toSearch|expression|->|Expression to search in the collection|
+|startFrom|Integer|->|Index to start the search at|
+|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found|
+
+
#### Descrição
@@ -1706,14 +1728,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
-| Parâmetro | Tipo | | Descrição |
-| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------- |
-| queryString | Text | -> | Critérios de pesquisa |
-| value | any | -> | Valores a comparar quando usar placeholders (valores temporários) |
-| Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|queryString|Text|->|Search criteria|
+|value|any|->|Value(s) to compare when using placeholder(s)|
+|Result|Collection |<-|Element index(es) matching queryString in the collection|
+
+
#### Descrição
@@ -1765,14 +1788,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, veja a f
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| --------------------------------------------------------------------------- |
-| index | Integer | -> | Onde inserir os elementos |
-| element | any | -> | Elemento a inserir na coleção |
-| Resultados | Collection | <- | Collection original contendo elementos inseridos|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|index|Integer|->|Where to insert the element|
+|element|any|->|Element to insert in the collection|
+|Result|Collection |<-|Original collection containing inserted element|
+
+
#### Descrição
@@ -1820,14 +1844,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------- |:--:| ------------------------------------------------------------------------------------------------------ |
-| delimiter | Text | -> | Separador a usar entre os elementos |
-| option | Integer | -> | `ck ignore null or empty`: ignora strings vazias ou nulls no resultado |
-| Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|delimiter|Text|->|Separator to use between elements|
+|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result|
+|Result|Text |<-|String containing all elements of the collection, separated by delimiter|
+
+
#### Descrição
@@ -1868,12 +1893,13 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---- |:--:| ----------------------------------------------------- |
-| Resultados | any | <- | Último elemento da coleção|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|any |<-|Last element of collection|
+
+
#### Descrição
@@ -1919,14 +1945,15 @@ var $col : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | --------- |:--:| --------------------------------------------------------------------------------------------------- |
-| toSearch | expressão | -> | O elemento que é pesquisado dentro da coleção |
-| startFrom | Integer | -> | Índice onde inicia a pesquisa |
-| Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|toSearch|expression|->|The element that is to be searched for within the collection|
+|startFrom|Integer|->|Index to start the search at|
+|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found|
+
+
#### Descrição
@@ -2013,15 +2040,16 @@ A propriedade `.length` é iniciada quando a coleção for criada. Adicionar ou
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| --------------------------------------------------------------------- |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| param | any | -> | *methodName* recebe os parâmetros abaixo: |
-| Resultados | Collection | <- | Collection de valores transformados|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|param|any|->|Parameter(s) to pass to *formula* or *methodName*|
+|Result|Collection |<-|Collection of transformed values|
+
+
#### Descrição
@@ -2079,13 +2107,14 @@ var $1 : Object
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
-| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo na coleção|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for evaluation|
+|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection|
+
+
#### Descrição
@@ -2134,13 +2163,14 @@ Se a coleção estiver vazia, `.max()` devolve *Undefined*.
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
-| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo na coleção|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath|Text|->|Object property path to be used for evaluation|
+|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection|
+
+
#### Descrição
@@ -2188,15 +2218,16 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*.
-| Parâmetro | Tipo | | Descrição |
-| ----------- | ---------- |:--:| ------------------------------------------------------------------------ |
-| pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção |
-| pathObjects | Collection | -> | Coleção de objetos criterio |
-| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
-| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|pathStrings|Text|->|Property path(s) on which to order the collection|
+|pathObjects|Collection|->|Collection of criteria objects|
+|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)|
+|Result|Collection |<-|Ordered copy of the collection (shallow copy)|
+
+
#### Descrição
@@ -2328,20 +2359,21 @@ Ordenar com uma rota de propriedade:
-**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection
+**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| ------------------------------------------------------------------------ |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| extraParam | any | -> | Parâmetro(s) a transmitir |
-| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|extraParam|any|->|Parameter(s) to pass |
+|Result|Collection |<-|Sorted copy of the collection (shallow copy)|
+
+
#### Descrição
@@ -2439,12 +2471,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0)
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---- |:--:| ----------------------------------------------------- |
-| Resultados | any | <- | Último elemento da coleção|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|any |<-|Last element of collection|
+
+
#### Descrição
@@ -2490,13 +2523,14 @@ Quando for aplicado a uma coleção vazia, `.pop()` devolve ***undefined***.
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| --------------------------------------------------------------------------- |
-| element | Mixed | -> | Elementos a adicionar à coleção |
-| Resultados | Collection | <- | Collection original contendo elementos inseridos|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|element|Mixed|->|Element(s) to add to the collection|
+|Result|Collection |<-|Original collection containing added elements|
+
+
#### Descrição
@@ -2553,15 +2587,16 @@ Você deseja ordenar a coleção resultante:
-| Parâmetro | Tipo | | Descrição |
-| ------------- | ---------- |:--:| -------------------------------------------------------------------------------- |
-| queryString | Text | -> | Critérios de pesquisa |
-| value | Mixed | -> | Valores a comparar quando usar placeholders (valores temporários) |
-| querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos |
-| Resultados | Collection | <- | Elementos que correspondem com queryString na coleção|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|queryString|Text|->|Search criteria|
+|value|Mixed|->|Value(s) to compare when using placeholder(s)|
+|querySettings|Object|->|Query options: parameters, attributes|
+|Result|Collection |<-|Element(s) matching queryString in the collection|
+
+
#### Descrição
@@ -2663,16 +2698,17 @@ Mais exemplos de pesquisas podem ser encontrados na página `dataClass.query()`.
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------- |:--:| ---------------------------------------------------------------------------- |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a utilizar como primeiro argumento da primeira chamada de *methodName* |
-| param | expressão | -> | Parâmetro(s) a transmitir |
-| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*|
+|param |expression|->|Parameter(s) to pass|
+|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value|
+
+
#### Descrição
@@ -2757,16 +2793,17 @@ Este exemplo permite reduzir vários elementos da coleção a um só:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ----------------------------------------------- |:--:| ---------------------------------------------------------------------------- |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a utilizar como primeiro argumento da primeira chamada de *methodName* |
-| param | expressão | -> | Parâmetro(s) a transmitir |
-| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*|
+|param |expression|->|Parameter(s) to pass|
+|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value|
+
+
#### Descrição
@@ -2851,14 +2888,15 @@ Este exemplo permite reduzir vários elementos da coleção a um só:
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ------------------------------------------------------------------------- |
-| index | Integer | -> | Elemento no qual que se inicia a eliminação |
-| howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir |
-| Resultados | Collection | <- | Coleção modificada sem elemento(s) removido(s)|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|index |Integer|->|Element at which to start removal|
+|howMany |Integer|->|Number of elements to remove, or 1 element if omitted|
+|Result|Collection|<-|Modified collection without removed element(s)|
+
+
#### Descrição
@@ -2917,14 +2955,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------------- |
-| size | Integer | -> | Nova dimensão da colecção |
-| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor padrão para preencher novos elementos |
-| Resultados | Collection | <- | Colecção original redimensionada|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|size |Integer|->|New size of the collection|
+|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements|
+|Result|Collection|<-|Resized original collection|
+
+
#### Descrição
@@ -2978,12 +3017,13 @@ Por padrão, são preenchidos novos elementos **null** valores. Pode especificar
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ------------------------------------------------------ |
-| Resultados | Collection | <- | Cópia invertida da colecção|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|Collection|<-|Inverted copy of the collection|
+
+
#### Descrição
@@ -3023,12 +3063,13 @@ A função `.reverse()` devolve uma c
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---- |:--:| -------------------------------------------------------- |
-| Resultados | any | <- | Primeiro elemento de colecção|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|Result|any|<-|First element of collection|
+
+
#### Descrição
@@ -3073,14 +3114,15 @@ Se a colecção estiver vazia, este método não faz nada.
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Início do índice (incluído) |
-| end | Integer | -> | Final do índice (não incluído) |
-| Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial)|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom |Integer |->|Start index (included)|
+|end |Integer |->|End index (not included)|
+|Result|Collection|<-|New collection containing sliced elements (shallow copy)|
+
+
#### Descrição
@@ -3129,16 +3171,17 @@ A colecção devolvida contém o elemento especificado por *startFrom* e todos o
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| ---------------------------------------------------------------------------------- |
-| startFrom | Integer | -> | Índice para início do teste em |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| param | Mixed | -> | Parâmetro(s) a transmitir |
-| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|startFrom |Integer |->|Index to start the test at|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|param |Mixed |->|Parameter(s) to pass|
+|Result|Boolean|<-|True if at least one element successfully passed the test|
+
+
#### Descrição
@@ -3216,13 +3259,16 @@ Quer saber se pelo menos um valor de colecção é >0.
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| --------------------------------------------------------------------- |
-| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
-| formula | 4D. Function | -> | Objecto fórmula |
-| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção |
-| extraParam | any | -> | Parâmetros para o método |
-| Resultados | Collection | <- | Colecção original ordenada |
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)|
+|formula|4D.Function|->|Formula object|
+|methodName|Text|->|Name of a method|
+|extraParam |any |->|Parameter(s) for the method|
+|Result|Collection|<-|Original collection sorted|
+
@@ -3318,13 +3364,14 @@ $strings2:=$strings1.orderByMethod("sortCollection";sk strict)
-| Parâmetro | Tipo | | Descrição |
-| ------------ | ---- |:--:| ------------------------------------------------------- |
-| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
-| Resultados | Real | <- | Soma dos valores da colecção|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|propertyPath |Text |->|Object property path to be used for calculation|
+|Result|Real|<-|Sum of collection values|
+
+
#### Descrição
@@ -3384,14 +3431,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
-| Parâmetro | Tipo | | Descrição |
-| -------------------------- | -------------------------------------- |:--:| ------------------------------------------- |
-| value | Text, Number, Object, Collection, Date | -> | Valor(es) a inserir no início da colecção |
-| Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) |
-|
-
+
-| | | |
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection|
+|Result|Collection|<-|Collection containing added element(s)
+|
+
+
#### Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md
index 1f7841b8a1307e..ac3a6f38d27baa 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md
@@ -120,13 +120,14 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------------ |:--:| --------------------------------------------------------------- |
-| formulaExp | Expression | -> | Fórmula a ser retornada como objeto |
-| Resultados | 4D. Function | <- | Função nativa encapsulando a fórmula|
+
-
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formulaExp|Expression|->|Formula to be returned as object|
+|Result|4D.Function|<-|Native function encapsulating the formula|
+
+
#### Descrição
@@ -259,13 +260,14 @@ Chamar uma fórmula usando notação de objeto:
-| Parâmetro | Tipo | | Descrição |
-| ------------- | ------------ |:--:| --------------------------------------------------------------- |
-| formulaString | Text | -> | Fórmula texto a ser retornada como objeto |
-| Resultados | 4D. Function | <- | Objeto nativo encapsulando a fórmula|
-
+
-|
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|formulaString|Text|->|Text formula to be returned as object|
+|Result|4D.Function|<-|Native object encapsulating the formula|
+
+
#### Descrição
@@ -318,14 +320,15 @@ O código abaixo cria um diálogo aceitando uma fórmula em formato texto:
-| Parâmetro | Tipo | | Descrição |
-| ------------- | ---------- |:--:| ------------------------------------------------------------------------------- |
-| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
-| formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado |
-| Resultados | any | <- | Valores de execução de fórmula|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---------|--- |:---:|------|
+|thisObj|Object|->|Object to be returned by the This command in the formula|
+|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed|
+|Result|any|<-|Value from formula execution|
+
+
#### Descrição
@@ -379,18 +382,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que parâmetros são
-**.call**() : any
**.call**( *thisObj* : Object { ; ...*params* : any } ) : any
+**.call**() : any
**.call**( *thisObj* : Object { ; *...params* : any } ) : any
-| Parâmetro | Tipo | | Descrição |
-| ---------- | ------ | -- | -------------------------------------------------------------------- |
-| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
-| params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada |
-| Resultados | any | <- | Valores de execução de fórmula|
-
-
-|
+
+
+|Parameter|Type||Description|
+|---|---|---|---|
+|thisObj|Object|->|Object to be returned by the This command in the formula|
+|params |any|->|Value(s) to be passed as $1...$n when formula is executed|
+|Result|any|<-|Value from formula execution|
+
+
#### Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md
index 0e1a13c257dd7a..699d2602eb8f2a 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md
@@ -82,11 +82,14 @@ Uma coleção é inicializada com os comandos [`New collection`](../commands/new
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ------- | :-------------------------: | ----------------------------- |
| index | Integer | -> | Índice de elemento a devolver |
| Resultados | any | <- | O elemento nesse índice |
+
#### Descrição
@@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | --------------- | :-------------------------: | ---------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real, Undefined | <- | Média aritmética dos valores coleção |
+
#### Descrição
@@ -187,10 +193,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ---------------------------------------------------- |
| Resultados | Collection | <- | Collection original com todos os elementos removidos |
+
#### Descrição
@@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------ |
| col2 | Collection | -> | Collection a combinar |
| index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) |
| Resultados | Collection | <- | Collection original contendo elementos combinados |
+
#### Descrição
@@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| value | any | -> | Valores a concatenar. Se *valor* for uma coleção, todos os seus elementos serão adicionados como novos elementos no final da coleção original. |
| Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original |
+
#### Descrição
@@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------- |
| option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
`ck shared`: retorna uma coleção partilhada |
@@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
| groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante |
| Resultados | Collection | <- | Cópia profunda da collection original |
+
#### Descrição
@@ -442,11 +460,14 @@ Este exemplo ilustra o uso da opção `ck resolve pointers`:
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---- | :-------------------------: | ---------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real | <- | Número de elementos na coleção |
+
#### Descrição
@@ -488,12 +509,15 @@ Se a coleção contiver objetos, você poderá passar o parâmetro *propertyPath
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---- | :-------------------------: | ---------------------------------------------------- |
| value | any | -> | Valor a contar |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real | <- | Número de ocorrências do valor |
+
#### Descrição
@@ -565,12 +589,15 @@ O parâmetro opcional *propertyPath* permite que você conte os valores dentro d
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---------- | :-------------------------: | ----------------------------------------- |
| propertyPath | Text | -> | Rota do atributo cujos valores quer obter |
| options | Integer | -> | `ck diacritical`, `ck count values` |
| Resultados | Collection | <- | Nova coleção com apenas valores distintos |
+
#### Descrição
@@ -624,12 +651,15 @@ No parâmetro *opções*, você pode passar uma ou uma combinação das seguinte
+
+
| Parâmetro | Tipo | | Descrição |
| ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------- |
| collection2 | Collection | -> | Coleção a comparar |
| option | Integer | -> | `ck diacritical`: avaliação diacrítica ("A" # "a", por exemplo) |
| Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false |
+
#### Descrição
@@ -693,6 +723,8 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice para início do teste em |
@@ -701,6 +733,7 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso |
+
#### Descrição
@@ -781,6 +814,8 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção |
@@ -788,6 +823,7 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false
| option | Integer | -> | `ck keep null`: include null properties na coleção retornada (ignorado por padrão). Parâmetro ignorado se *targetPath* for passado. |
| Resultados | Collection | <- | Nova collection contendo valores extraídos |
+
#### Descrição
@@ -851,6 +887,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------- |
| value | any | -> | Valores preenchido |
@@ -858,6 +896,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
| end | Integer | -> | Final do índice (não incluído) |
| Resultados | Collection | <- | Coleção original com valores preenchidos |
+
#### Descrição
@@ -906,6 +945,8 @@ Em caso de inconsistências, as regras abaixos são seguidas:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -913,6 +954,7 @@ Em caso de inconsistências, as regras abaixos são seguidas:
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial) |
+
#### Descrição
@@ -992,6 +1034,8 @@ Se quiser filtrar elementos de acordo com seu tipo de valor:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
@@ -1000,6 +1044,7 @@ Se quiser filtrar elementos de acordo com seu tipo de valor:
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado |
+
#### Descrição
@@ -1081,6 +1126,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
@@ -1089,6 +1136,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado |
+
#### Descrição
@@ -1158,10 +1206,13 @@ var $c : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | ----------------------------- |
| Resultados | any | <- | Primeiro elemento de colecção |
+
#### Descrição
@@ -1198,11 +1249,14 @@ var $col : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------- |
| depth | Integer | -> | A profundidade a que uma estrutura de colecção aninhada deve ser aplanada. O padrão=1 |
| Resultados | Collection | <- | Colecção achatada |
+
#### Descrição
@@ -1251,6 +1305,8 @@ $col.flat(MAXLONG)
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -1258,6 +1314,7 @@ $col.flat(MAXLONG)
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Collection | <- | Collection of transformed values and flattened by a depth of 1 |
+
#### Descrição
@@ -1341,12 +1398,15 @@ var $c; $c2 : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | -------------------------------------------- |
| toSearch | Expression | -> | Expressão a pesquisar na coleção |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
| Resultados | Parâmetros | <- | True se *toSearch* for encontrado na coleção |
+
#### Descrição
@@ -1404,12 +1464,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------- |
| toSearch | Expression | -> | Expressão a pesquisar na coleção |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
| Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado |
+
#### Descrição
@@ -1464,12 +1527,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
+
+
| Parâmetro | Tipo | | Descrição |
| ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ |
| queryString | Text | -> | Critérios de pesquisa |
| value | any | -> | Valores a comparar quando usar placeholders (valores temporários) |
| Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção |
+
#### Descrição
@@ -1519,12 +1585,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, por favo
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------ |
| index | Integer | -> | Onde inserir os elementos |
| element | any | -> | Elemento a inserir na coleção |
| Resultados | Collection | <- | Collection original contendo elementos inseridos |
+
#### Descrição
@@ -1571,12 +1640,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ------- | :-------------------------: | --------------------------------------------------------------------------------------------------- |
| delimiter | Text | -> | Separador a usar entre os elementos |
| option | Integer | -> | `ck ignore null or empty`: ignora cadeias de caracteres nulas e vazias no resultado |
| Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador |
+
#### Descrição
@@ -1615,10 +1687,13 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | -------------------------- |
| Resultados | any | <- | Último elemento da coleção |
+
#### Descrição
@@ -1661,12 +1736,15 @@ $last:=$emptyCol.last() // devolve Undefined
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------ |
| toSearch | Expression | -> | O elemento que é pesquisado dentro da coleção |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
| Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado |
+
#### Descrição
@@ -1747,6 +1825,8 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -1754,6 +1834,7 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Collection | <- | Collection de valores transformados |
+
#### Descrição
@@ -1806,11 +1887,14 @@ var $1 : Object
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---- | :-------------------------: | ----------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
| Resultados | any | <- | Valor máximo na coleção |
+
#### Descrição
@@ -1856,11 +1940,14 @@ Se a coleção estiver vazia, `.max()` retorna *Undefined*.
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---- | :-------------------------: | ----------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
| Resultados | any | <- | Valor mínimo na coleção |
+
#### Descrição
@@ -1906,12 +1993,15 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| formula | 4D. Function | -> | Objecto fórmula |
| colsToSort | Collection | -> | Coleção de coleções e/ou objetos com propriedades {`collection`:*colToSort*;`order`:`ck ascending` ou `ck descending`} |
| Resultados | Collection | <- | Colecção original ordenada |
+
#### Descrição
@@ -2042,6 +2132,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address])
+
+
| Parâmetro | Tipo | | Descrição |
| ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------- |
| pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção |
@@ -2049,6 +2141,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address])
| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) |
+
#### Descrição
@@ -2179,10 +2272,12 @@ Ordenar com uma rota de propriedade:
-**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection
+**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -2190,6 +2285,7 @@ Ordenar com uma rota de propriedade:
| extraParam | any | -> | Parâmetro(s) a transmitir |
| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) |
+
#### Descrição
@@ -2285,10 +2381,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0)
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | -------------------------- |
| Resultados | any | <- | Último elemento da coleção |
+
#### Descrição
@@ -2331,11 +2430,14 @@ O `.pop()`, usado em conjunto com [`.push()`](#push), pode ser usado para implem
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------ |
| element | any | -> | Elementos a adicionar à coleção |
| Resultados | Collection | <- | Collection original contendo elementos inseridos |
+
#### Descrição
@@ -2386,6 +2488,8 @@ Você deseja ordenar a coleção resultante:
+
+
| Parâmetro | Tipo | | Descrição |
| ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ |
| queryString | Text | -> | Critérios de pesquisa |
@@ -2393,6 +2497,7 @@ Você deseja ordenar a coleção resultante:
| querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos |
| Resultados | Collection | <- | Elementos que correspondem com queryString na coleção |
+
#### Descrição
@@ -2687,6 +2792,8 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -2695,6 +2802,7 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`.
| param | Expression | -> | Parâmetro(s) a transmitir |
| Resultados | any | <- | Resultado do valor do acumulador |
+
#### Descrição
@@ -2772,6 +2880,8 @@ Com o seguinte método ***Flatten***:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -2780,6 +2890,7 @@ Com o seguinte método ***Flatten***:
| param | Expression | -> | Parâmetro(s) a transmitir |
| Resultados | any | <- | Resultado do valor do acumulador |
+
#### Descrição
@@ -2859,12 +2970,15 @@ Com o seguinte método ***Flatten***:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ |
| index | Integer | -> | Elemento no qual que se inicia a eliminação |
| howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir |
| Resultados | Collection | <- | Coleção modificada sem elemento(s) removido(s) |
+
#### Descrição
@@ -2915,12 +3029,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---------- | :-------------------------: | ------------------------------------------- |
| size | Integer | -> | Nova dimensão da colecção |
| defaultValue | any | -> | Valor padrão para preencher novos elementos |
| Resultados | Collection | <- | Colecção original redimensionada |
+
#### Descrição
@@ -2970,10 +3087,13 @@ Por padrão, novos elementos são preenchidos com valores **null**. Pode especif
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | --------------------------- |
| Resultados | Collection | <- | Cópia invertida da colecção |
+
#### Descrição
@@ -3008,10 +3128,13 @@ A função `.reverse()` retorna uma c
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | ----------------------------- |
| Resultados | any | <- | Primeiro elemento de colecção |
+
#### Descrição
@@ -3051,12 +3174,15 @@ Se a colecção estiver vazia, este método não faz nada.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Início do índice (incluído) |
| end | Integer | -> | Final do índice (não incluído) |
| Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial) |
+
#### Descrição
@@ -3102,6 +3228,8 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice para início do teste em |
@@ -3110,6 +3238,7 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os
| param | any | -> | Parâmetro(s) a transmitir |
| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso |
+
#### Descrição
@@ -3182,6 +3311,8 @@ Quer saber se pelo menos um valor de coleção é >0.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------ |
| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
@@ -3190,6 +3321,7 @@ Quer saber se pelo menos um valor de coleção é >0.
| extraParam | any | -> | Parâmetros para o método |
| Resultados | Collection | <- | Colecção original ordenada |
+
#### Descrição
@@ -3275,11 +3407,14 @@ $col3:=$col.sort(Formula(String($1.value)
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---- | :-------------------------: | ---------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real | <- | Soma dos valores da colecção |
+
#### Descrição
@@ -3335,12 +3470,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------- |
| value | any | -> | Valor(es) a inserir no início da colecção |
| Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) |
| | | | |
+
#### Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md
index 64b6ef79be2608..5bbbe75e703b99 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md
@@ -112,12 +112,15 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na
+
+
| Parâmetro | Tipo | | Descrição |
| ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------- |
| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
| formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado |
| Resultados | any | <- | Valores de execução de fórmula |
+
#### Descrição
@@ -168,16 +171,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que os parâmetros s
-**.call**() : any
**.call**( *thisObj* : Object { ; ...*params* : any } ) : any
+**.call**() : any
**.call**( *thisObj* : Object { ; *...params* : any } ) : any
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
| params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada |
| Resultados | any | <- | Valores de execução de fórmula |
+
#### Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md
index 072920e7940ae1..6f80b8bc0aed88 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md
@@ -423,5 +423,5 @@ The following conventions are used in the 4D language documentation:
- os caracteres `{ }` (chaves) indicam parâmetros opcionais. Por exemplo, `.delete( { option : Integer } )` significa que o parâmetro *option* pode ser omisso ao chamar a função.
- the `any` keyword is used for parameters that can be of any type (number, text, boolean, date, time, object, collection...).
-- the `{; ...*param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function.
+- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function.
- the `{; ...(*param* : Type ; *param2* : Type) }` notation indicates an unlimited number of groups of parameters. For example, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` means that an unlimited number of couple values of type array/text can be passed to the command.
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md
index 3029132cc05fd8..824124cc781476 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md
@@ -82,11 +82,14 @@ Uma coleção é inicializada com os comandos [`New collection`](../commands/new
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ------- | :-------------------------: | ----------------------------- |
| index | Integer | -> | Índice de elemento a devolver |
| Resultados | any | <- | O elemento nesse índice |
+
#### Descrição
@@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | --------------- | :-------------------------: | ---------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real, Undefined | <- | Média aritmética dos valores coleção |
+
#### Descrição
@@ -187,10 +193,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ---------------------------------------------------- |
| Resultados | Collection | <- | Collection original com todos os elementos removidos |
+
#### Descrição
@@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------ |
| col2 | Collection | -> | Collection a combinar |
| index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) |
| Resultados | Collection | <- | Collection original contendo elementos combinados |
+
#### Descrição
@@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| value | any | -> | Valores a concatenar. Se *valor* for uma coleção, todos os seus elementos serão adicionados como novos elementos no final da coleção original. |
| Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original |
+
#### Descrição
@@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------- |
| option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
`ck shared`: retorna uma coleção partilhada |
@@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
| groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante |
| Resultados | Collection | <- | Cópia profunda da collection original |
+
#### Descrição
@@ -442,11 +460,14 @@ Este exemplo ilustra o uso da opção `ck resolve pointers`:
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---- | :-------------------------: | ---------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real | <- | Número de elementos na coleção |
+
#### Descrição
@@ -488,12 +509,15 @@ Se a coleção contiver objetos, você poderá passar o parâmetro *propertyPath
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------- |
| value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real | <- | Número de ocorrências do valor |
+
#### Descrição
@@ -565,12 +589,15 @@ O parâmetro opcional *propertyPath* permite que você conte os valores dentro d
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---------- | :-------------------------: | ----------------------------------------- |
| propertyPath | Text | -> | Rota do atributo cujos valores quer obter |
| options | Integer | -> | `ck diacritical`, `ck count values` |
| Resultados | Collection | <- | Nova coleção com apenas valores distintos |
+
#### Descrição
@@ -624,12 +651,15 @@ No parâmetro *opções*, você pode passar uma ou uma combinação das seguinte
+
+
| Parâmetro | Tipo | | Descrição |
| ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------- |
| collection2 | Collection | -> | Coleção a comparar |
| option | Integer | -> | `ck diacritical`: avaliação diacrítica ("A" # "a", por exemplo) |
| Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false |
+
#### Descrição
@@ -693,6 +723,8 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice para início do teste em |
@@ -701,6 +733,7 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso |
+
#### Descrição
@@ -781,6 +814,8 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção |
@@ -788,6 +823,7 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false
| option | Integer | -> | `ck keep null`: include null properties na coleção retornada (ignorado por padrão). Parâmetro ignorado se *targetPath* for passado. |
| Resultados | Collection | <- | Nova collection contendo valores extraídos |
+
#### Descrição
@@ -851,6 +887,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ----------------------------------------------- | :-------------------------: | ------------------------------------------------- |
| value | number, Text, Collection, Object, Date, Boolean | -> | Valores preenchido |
@@ -858,6 +896,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
| end | Integer | -> | Final do índice (não incluído) |
| Resultados | collection | <- | Coleção original com valores preenchidos |
+
#### Descrição
@@ -906,6 +945,8 @@ Em caso de inconsistências, as regras abaixos são seguidas:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -913,6 +954,7 @@ Em caso de inconsistências, as regras abaixos são seguidas:
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial) |
+
#### Descrição
@@ -992,6 +1034,8 @@ Se quiser filtrar elementos de acordo com seu tipo de valor:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
@@ -1000,6 +1044,7 @@ Se quiser filtrar elementos de acordo com seu tipo de valor:
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado |
+
#### Descrição
@@ -1081,6 +1126,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
@@ -1089,6 +1136,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado |
+
#### Descrição
@@ -1158,10 +1206,13 @@ var $c : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | ----------------------------- |
| Resultados | any | <- | Primeiro elemento de colecção |
+
#### Descrição
@@ -1198,11 +1249,14 @@ var $col : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------- |
| depth | Integer | -> | A profundidade a que uma estrutura de colecção aninhada deve ser aplanada. O padrão=1 |
| Resultados | Collection | <- | Colecção achatada |
+
#### Descrição
@@ -1251,6 +1305,8 @@ $col.flat(MAXLONG)
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -1258,6 +1314,7 @@ $col.flat(MAXLONG)
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Collection | <- | Collection of transformed values and flattened by a depth of 1 |
+
#### Descrição
@@ -1341,12 +1398,15 @@ var $c; $c2 : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | -------------------------------------------- |
| toSearch | expressão | -> | Expressão a pesquisar na coleção |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
| Resultados | Parâmetros | <- | True se *toSearch* for encontrado na coleção |
+
#### Descrição
@@ -1404,12 +1464,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | --------- | :-------------------------: | -------------------------------------------------------------------------- |
| toSearch | expressão | -> | Expressão a pesquisar na coleção |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
| Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado |
+
#### Descrição
@@ -1464,12 +1527,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa
+
+
| Parâmetro | Tipo | | Descrição |
| ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ |
| queryString | Text | -> | Critérios de pesquisa |
| value | any | -> | Valores a comparar quando usar placeholders (valores temporários) |
| Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção |
+
#### Descrição
@@ -1519,12 +1585,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, por favo
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------ |
| index | Integer | -> | Onde inserir os elementos |
| element | any | -> | Elemento a inserir na coleção |
| Resultados | Collection | <- | Collection original contendo elementos inseridos |
+
#### Descrição
@@ -1571,12 +1640,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ------- | :-------------------------: | --------------------------------------------------------------------------------------------------- |
| delimiter | Text | -> | Separador a usar entre os elementos |
| option | Integer | -> | `ck ignore null or empty`: ignora cadeias de caracteres nulas e vazias no resultado |
| Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador |
+
#### Descrição
@@ -1615,10 +1687,13 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | -------------------------- |
| Resultados | any | <- | Último elemento da coleção |
+
#### Descrição
@@ -1661,12 +1736,15 @@ $last:=$emptyCol.last() // devolve Undefined
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | --------- | :-------------------------: | ------------------------------------------------------------------------ |
| toSearch | expressão | -> | O elemento que é pesquisado dentro da coleção |
| startFrom | Integer | -> | Índice onde inicia a pesquisa |
| Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado |
+
#### Descrição
@@ -1747,6 +1825,8 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -1754,6 +1834,7 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar
| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* |
| Resultados | Collection | <- | Collection de valores transformados |
+
#### Descrição
@@ -1806,11 +1887,14 @@ var $1 : Object
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo na coleção |
+
#### Descrição
@@ -1856,11 +1940,14 @@ Se a coleção estiver vazia, `.max()` retorna *Undefined*.
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação |
| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo na coleção |
+
#### Descrição
@@ -1906,12 +1993,15 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| formula | 4D. Function | -> | Objecto fórmula |
| colsToSort | Collection | -> | Coleção de coleções e/ou objetos com propriedades {`collection`:*colToSort*;`order`:`ck ascending` ou `ck descending`} |
| Resultados | Collection | <- | Colecção original ordenada |
+
#### Descrição
@@ -2042,6 +2132,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address])
+
+
| Parâmetro | Tipo | | Descrição |
| ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------- |
| pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção |
@@ -2049,6 +2141,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address])
| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) |
+
#### Descrição
@@ -2179,10 +2272,12 @@ Ordenar com uma rota de propriedade:
-**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection
+**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -2190,6 +2285,7 @@ Ordenar com uma rota de propriedade:
| extraParam | any | -> | Parâmetro(s) a transmitir |
| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) |
+
#### Descrição
@@ -2285,10 +2381,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0)
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | -------------------------- |
| Resultados | any | <- | Último elemento da coleção |
+
#### Descrição
@@ -2331,11 +2430,14 @@ O `.pop()`, usado em conjunto com [`.push()`](#push), pode ser usado para implem
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------ |
| element | any | -> | Elementos a adicionar à coleção |
| Resultados | Collection | <- | Collection original contendo elementos inseridos |
+
#### Descrição
@@ -2386,6 +2488,8 @@ Você deseja ordenar a coleção resultante:
+
+
| Parâmetro | Tipo | | Descrição |
| ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ |
| queryString | Text | -> | Critérios de pesquisa |
@@ -2393,6 +2497,7 @@ Você deseja ordenar a coleção resultante:
| querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos |
| Resultados | Collection | <- | Elementos que correspondem com queryString na coleção |
+
#### Descrição
@@ -2687,6 +2792,8 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -2695,6 +2802,7 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`.
| param | expressão | -> | Parâmetro(s) a transmitir |
| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador |
+
#### Descrição
@@ -2772,6 +2880,8 @@ Com o seguinte método ***Flatten***:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- |
| formula | 4D. Function | -> | Objecto fórmula |
@@ -2780,6 +2890,7 @@ Com o seguinte método ***Flatten***:
| param | expressão | -> | Parâmetro(s) a transmitir |
| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador |
+
#### Descrição
@@ -2859,12 +2970,15 @@ Com o seguinte método ***Flatten***:
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ |
| index | Integer | -> | Elemento no qual que se inicia a eliminação |
| howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir |
| Resultados | Collection | <- | Coleção modificada sem elemento(s) removido(s) |
+
#### Descrição
@@ -2915,12 +3029,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ----------------------------------------------- | :-------------------------: | ------------------------------------------- |
| size | Integer | -> | Nova dimensão da colecção |
| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor padrão para preencher novos elementos |
| Resultados | Collection | <- | Colecção original redimensionada |
+
#### Descrição
@@ -2970,10 +3087,13 @@ Por padrão, novos elementos são preenchidos com valores **null**. Pode especif
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | --------------------------- |
| Resultados | Collection | <- | Cópia invertida da colecção |
+
#### Descrição
@@ -3008,10 +3128,13 @@ A função `.reverse()` retorna uma c
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---- | :-------------------------: | ----------------------------- |
| Resultados | any | <- | Primeiro elemento de colecção |
+
#### Descrição
@@ -3051,12 +3174,15 @@ Se a colecção estiver vazia, este método não faz nada.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------- |
| startFrom | Integer | -> | Início do índice (incluído) |
| end | Integer | -> | Final do índice (não incluído) |
| Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial) |
+
#### Descrição
@@ -3102,6 +3228,8 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- |
| startFrom | Integer | -> | Índice para início do teste em |
@@ -3110,6 +3238,7 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os
| param | any | -> | Parâmetro(s) a transmitir |
| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso |
+
#### Descrição
@@ -3182,6 +3311,8 @@ Quer saber se pelo menos um valor de coleção é >0.
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------ |
| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) |
@@ -3190,6 +3321,7 @@ Quer saber se pelo menos um valor de coleção é >0.
| extraParam | any | -> | Parâmetros para o método |
| Resultados | Collection | <- | Colecção original ordenada |
+
#### Descrição
@@ -3275,11 +3407,14 @@ $col3:=$col.sort(Formula(String($1.value)
+
+
| Parâmetro | Tipo | | Descrição |
| ------------ | ---- | :-------------------------: | ---------------------------------------------------- |
| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos |
| Resultados | Real | <- | Soma dos valores da colecção |
+
#### Descrição
@@ -3335,12 +3470,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | -------------------------------------- | :-------------------------: | --------------------------------------------------------------------------------- |
| value | Text, Number, Object, Collection, Date | -> | Valor(es) a inserir no início da colecção |
| Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) |
| | | | |
+
#### Descrição
diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md
index 64b6ef79be2608..5bbbe75e703b99 100644
--- a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md
+++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md
@@ -112,12 +112,15 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na
+
+
| Parâmetro | Tipo | | Descrição |
| ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------- |
| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
| formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado |
| Resultados | any | <- | Valores de execução de fórmula |
+
#### Descrição
@@ -168,16 +171,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que os parâmetros s
-**.call**() : any
**.call**( *thisObj* : Object { ; ...*params* : any } ) : any
+**.call**() : any
**.call**( *thisObj* : Object { ; *...params* : any } ) : any
+
+
| Parâmetro | Tipo | | Descrição |
| ---------- | ------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula |
| params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada |
| Resultados | any | <- | Valores de execução de fórmula |
+
#### Descrição