Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
54bcc9f
New translations collectionclass.md (Spanish)
arnaud4d Feb 12, 2026
8586b54
New translations collectionclass.md (French)
arnaud4d Feb 12, 2026
5d13977
New translations new-shared-collection.md (French)
arnaud4d Feb 12, 2026
e267853
New translations collectionclass.md (French)
arnaud4d Feb 12, 2026
c196f28
New translations new-shared-collection.md (French)
arnaud4d Feb 12, 2026
bf78fa2
New translations collectionclass.md (French)
arnaud4d Feb 12, 2026
bc1470a
New translations new-shared-collection.md (French)
arnaud4d Feb 12, 2026
6687444
New translations collectionclass.md (Spanish)
arnaud4d Feb 12, 2026
19277e2
New translations entities.md (Japanese)
arnaud4d Feb 12, 2026
6ad3437
New translations forms.md (Japanese)
arnaud4d Feb 12, 2026
743e0dd
New translations general.md (Japanese)
arnaud4d Feb 12, 2026
044eac1
New translations methods.md (Japanese)
arnaud4d Feb 12, 2026
2ae16ba
New translations overview.md (Japanese)
arnaud4d Feb 12, 2026
081dd94
New translations structure.md (Japanese)
arnaud4d Feb 12, 2026
738ff81
New translations architecture.md (Japanese)
arnaud4d Feb 12, 2026
83e8cf8
New translations architecture.md (Japanese)
arnaud4d Feb 12, 2026
506ce3c
New translations entities.md (Japanese)
arnaud4d Feb 12, 2026
2d78573
New translations forms.md (Japanese)
arnaud4d Feb 12, 2026
652bd8d
New translations general.md (Japanese)
arnaud4d Feb 12, 2026
dfa288d
New translations methods.md (Japanese)
arnaud4d Feb 12, 2026
0098afa
New translations overview.md (Japanese)
arnaud4d Feb 12, 2026
a1c8c35
New translations structure.md (Japanese)
arnaud4d Feb 12, 2026
57917e5
New translations entities.md (Japanese)
arnaud4d Feb 12, 2026
8c94979
New translations forms.md (Japanese)
arnaud4d Feb 12, 2026
dc68bdc
New translations general.md (Japanese)
arnaud4d Feb 12, 2026
2559407
New translations methods.md (Japanese)
arnaud4d Feb 12, 2026
58c538f
New translations overview.md (Japanese)
arnaud4d Feb 12, 2026
1f53507
New translations structure.md (Japanese)
arnaud4d Feb 12, 2026
ccb97d9
New translations architecture.md (Japanese)
arnaud4d Feb 12, 2026
35b5ec7
New translations forms.md (Spanish)
arnaud4d Feb 13, 2026
b6a58b9
New translations code-overview.md (Japanese)
arnaud4d Feb 13, 2026
75273ea
New translations code-overview.md (Japanese)
arnaud4d Feb 13, 2026
b9cff78
New translations components.md (Japanese)
arnaud4d Feb 13, 2026
7ad9c40
New translations code-overview.md (Japanese)
arnaud4d Feb 13, 2026
254178b
New translations components.md (Japanese)
arnaud4d Feb 13, 2026
2f3434c
New translations open-form-window.md (French)
arnaud4d Feb 13, 2026
13c81f2
New translations open-form-window.md (Spanish)
arnaud4d Feb 13, 2026
b7f5f59
New translations open-form-window.md (Japanese)
arnaud4d Feb 13, 2026
32cd8b9
New translations open-form-window.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
622481c
New translations documentation.md (Japanese)
arnaud4d Feb 13, 2026
7bb2060
New translations documentation.md (Japanese)
arnaud4d Feb 13, 2026
1f5a6ce
New translations components.md (Japanese)
arnaud4d Feb 13, 2026
b4a88ee
New translations date-time-formats.md (Japanese)
arnaud4d Feb 13, 2026
38efbfc
New translations documentation.md (Japanese)
arnaud4d Feb 13, 2026
baa0cae
New translations overview.md (Japanese)
arnaud4d Feb 13, 2026
4d71099
New translations project-method-properties.md (Japanese)
arnaud4d Feb 13, 2026
ab3454f
New translations components.md (Japanese)
arnaud4d Feb 13, 2026
552cbeb
New translations date-time-formats.md (Japanese)
arnaud4d Feb 13, 2026
7785600
New translations documentation.md (Japanese)
arnaud4d Feb 13, 2026
261eddd
New translations project-method-properties.md (Japanese)
arnaud4d Feb 13, 2026
13d3895
New translations search-replace.md (Japanese)
arnaud4d Feb 13, 2026
682ff51
New translations components.md (Japanese)
arnaud4d Feb 13, 2026
65ab99a
New translations date-time-formats.md (Japanese)
arnaud4d Feb 13, 2026
c64601e
New translations documentation.md (Japanese)
arnaud4d Feb 13, 2026
7aee792
New translations project-method-properties.md (Japanese)
arnaud4d Feb 13, 2026
b8d8253
New translations search-replace.md (Japanese)
arnaud4d Feb 13, 2026
2c48745
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
3fd0f90
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
5dcae8a
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
cc5e681
New translations parameters.md (Spanish)
arnaud4d Feb 13, 2026
67fd7fb
New translations properties_scale.md (Spanish)
arnaud4d Feb 13, 2026
c405626
New translations properties_textandpicture.md (Spanish)
arnaud4d Feb 13, 2026
79c364c
New translations parameters.md (Spanish)
arnaud4d Feb 13, 2026
373a408
New translations properties_scale.md (Spanish)
arnaud4d Feb 13, 2026
4fe249c
New translations properties_textandpicture.md (Spanish)
arnaud4d Feb 13, 2026
48e52a9
New translations properties_textandpicture.md (Japanese)
arnaud4d Feb 13, 2026
f957b07
New translations properties_textandpicture.md (Japanese)
arnaud4d Feb 13, 2026
faf9956
New translations parameters.md (Japanese)
arnaud4d Feb 13, 2026
0c34d40
New translations properties_scale.md (Japanese)
arnaud4d Feb 13, 2026
a2a8f74
New translations properties_textandpicture.md (Japanese)
arnaud4d Feb 13, 2026
0da1f82
New translations parameters.md (Japanese)
arnaud4d Feb 13, 2026
6cd9d05
New translations properties_scale.md (Japanese)
arnaud4d Feb 13, 2026
0f67767
New translations properties_textandpicture.md (Japanese)
arnaud4d Feb 13, 2026
83e7096
New translations parameters.md (Japanese)
arnaud4d Feb 13, 2026
35e7ae9
New translations properties_scale.md (Japanese)
arnaud4d Feb 13, 2026
72e86be
New translations properties_textandpicture.md (Japanese)
arnaud4d Feb 13, 2026
e7ab2db
New translations properties_textandpicture.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
32d9c7a
New translations properties_textandpicture.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
3e79f93
New translations parameters.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
44251d6
New translations properties_scale.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
7468c18
New translations properties_textandpicture.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
c24056c
New translations parameters.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
8d411f6
New translations properties_scale.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
3f3a633
New translations properties_textandpicture.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
025d862
New translations parameters.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
5e7ffb0
New translations properties_scale.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
0413da3
New translations properties_textandpicture.md (Portuguese, Brazilian)
arnaud4d Feb 13, 2026
7bedd4c
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
418b89d
New translations entities.md (French)
arnaud4d Feb 13, 2026
494e695
New translations configuring.md (French)
arnaud4d Feb 13, 2026
1e34ac7
New translations classes.md (French)
arnaud4d Feb 13, 2026
c96c4d6
New translations quick-tour.md (French)
arnaud4d Feb 13, 2026
8b73826
New translations webadmin.md (French)
arnaud4d Feb 13, 2026
949ca26
New translations arrays.md (French)
arnaud4d Feb 13, 2026
35bea7c
New translations dt_blob.md (French)
arnaud4d Feb 13, 2026
0022ef5
New translations dt_collection.md (French)
arnaud4d Feb 13, 2026
080d57e
New translations dt_object.md (French)
arnaud4d Feb 13, 2026
3d3ee27
New translations quick-tour.md (French)
arnaud4d Feb 13, 2026
74aaaeb
New translations forms.md (French)
arnaud4d Feb 13, 2026
6f71880
New translations listbox_overview.md (French)
arnaud4d Feb 13, 2026
09cdb6b
New translations properties_text.md (French)
arnaud4d Feb 13, 2026
d3bdfc3
New translations properties_textandpicture.md (French)
arnaud4d Feb 13, 2026
a27990f
New translations dsmapping.md (French)
arnaud4d Feb 13, 2026
9ec97b2
New translations tags.md (French)
arnaud4d Feb 13, 2026
98f81c0
New translations sessions.md (French)
arnaud4d Feb 13, 2026
7f4637e
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
da27153
New translations webadmin.md (French)
arnaud4d Feb 13, 2026
5a6370d
New translations arrays.md (French)
arnaud4d Feb 13, 2026
d3ab7e4
New translations dt_blob.md (French)
arnaud4d Feb 13, 2026
cb66c7b
New translations dt_object.md (French)
arnaud4d Feb 13, 2026
22d8aee
New translations quick-tour.md (French)
arnaud4d Feb 13, 2026
a7ac039
New translations debuglogfiles.md (French)
arnaud4d Feb 13, 2026
f0cd6f7
New translations forms.md (French)
arnaud4d Feb 13, 2026
0b7139d
New translations listbox_overview.md (French)
arnaud4d Feb 13, 2026
6844f01
New translations properties_text.md (French)
arnaud4d Feb 13, 2026
12709a7
New translations properties_textandpicture.md (French)
arnaud4d Feb 13, 2026
9c3fb6d
New translations dsmapping.md (French)
arnaud4d Feb 13, 2026
23fb185
New translations entities.md (French)
arnaud4d Feb 13, 2026
1ca369b
New translations tags.md (French)
arnaud4d Feb 13, 2026
25590ff
New translations sessions.md (French)
arnaud4d Feb 13, 2026
da85ead
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
93af0d0
New translations entityselectionclass.md (French)
arnaud4d Feb 13, 2026
0e3049a
New translations webadmin.md (French)
arnaud4d Feb 13, 2026
e4dddd3
New translations arrays.md (French)
arnaud4d Feb 13, 2026
d5e93a2
New translations dt_object.md (French)
arnaud4d Feb 13, 2026
83a5c9c
New translations parameters.md (French)
arnaud4d Feb 13, 2026
12abd52
New translations debuglogfiles.md (French)
arnaud4d Feb 13, 2026
886654f
New translations forms.md (French)
arnaud4d Feb 13, 2026
d9e7293
New translations listbox_overview.md (French)
arnaud4d Feb 13, 2026
a24a402
New translations properties_scale.md (French)
arnaud4d Feb 13, 2026
6c5355b
New translations properties_text.md (French)
arnaud4d Feb 13, 2026
20cbac1
New translations properties_textandpicture.md (French)
arnaud4d Feb 13, 2026
4c705df
New translations dsmapping.md (French)
arnaud4d Feb 13, 2026
5067c17
New translations entities.md (French)
arnaud4d Feb 13, 2026
8b11f91
New translations transformation-tags.md (French)
arnaud4d Feb 13, 2026
a32e236
New translations configuring.md (French)
arnaud4d Feb 13, 2026
5a2b1cd
New translations sessions.md (French)
arnaud4d Feb 13, 2026
0a4b695
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
40cb7ec
New translations entityselectionclass.md (French)
arnaud4d Feb 13, 2026
0852873
New translations webadmin.md (French)
arnaud4d Feb 13, 2026
935c1db
New translations arrays.md (French)
arnaud4d Feb 13, 2026
1c12877
New translations classes.md (French)
arnaud4d Feb 13, 2026
8cbbff7
New translations dt_object.md (French)
arnaud4d Feb 13, 2026
8ed850a
New translations parameters.md (French)
arnaud4d Feb 13, 2026
83068f0
New translations quick-tour.md (French)
arnaud4d Feb 13, 2026
cd6ab6b
New translations debuglogfiles.md (French)
arnaud4d Feb 13, 2026
9f75060
New translations forms.md (French)
arnaud4d Feb 13, 2026
dd134e2
New translations listbox_overview.md (French)
arnaud4d Feb 13, 2026
a0013cd
New translations properties_scale.md (French)
arnaud4d Feb 13, 2026
4c2b92e
New translations properties_text.md (French)
arnaud4d Feb 13, 2026
8caf0e9
New translations properties_textandpicture.md (French)
arnaud4d Feb 13, 2026
da49484
New translations dsmapping.md (French)
arnaud4d Feb 13, 2026
9ddda84
New translations entities.md (French)
arnaud4d Feb 13, 2026
f75f2b4
New translations transformation-tags.md (French)
arnaud4d Feb 13, 2026
e5f7cce
New translations configuring.md (French)
arnaud4d Feb 13, 2026
95360db
New translations sessions.md (French)
arnaud4d Feb 13, 2026
cade931
New translations collectionclass.md (French)
arnaud4d Feb 13, 2026
0712c30
New translations entityselectionclass.md (French)
arnaud4d Feb 13, 2026
e703bae
New translations webadmin.md (French)
arnaud4d Feb 13, 2026
2aa9fcb
New translations arrays.md (French)
arnaud4d Feb 13, 2026
8c7187a
New translations classes.md (French)
arnaud4d Feb 13, 2026
2d22c0f
New translations dt_object.md (French)
arnaud4d Feb 13, 2026
d6d3ed5
New translations parameters.md (French)
arnaud4d Feb 13, 2026
a258340
New translations quick-tour.md (French)
arnaud4d Feb 13, 2026
8b22970
New translations debuglogfiles.md (French)
arnaud4d Feb 13, 2026
19fec21
New translations forms.md (French)
arnaud4d Feb 13, 2026
943f687
New translations listbox_overview.md (French)
arnaud4d Feb 13, 2026
e17801f
New translations properties_scale.md (French)
arnaud4d Feb 13, 2026
aabaab6
New translations properties_text.md (French)
arnaud4d Feb 13, 2026
d29c0a6
New translations properties_textandpicture.md (French)
arnaud4d Feb 13, 2026
756935b
New translations dsmapping.md (French)
arnaud4d Feb 13, 2026
8508e82
New translations entities.md (French)
arnaud4d Feb 13, 2026
1d5692d
New translations transformation-tags.md (French)
arnaud4d Feb 13, 2026
98a15f5
New translations configuring.md (French)
arnaud4d Feb 13, 2026
2d2cadf
New translations sessions.md (French)
arnaud4d Feb 13, 2026
8ddd16c
New translations properties_textandpicture.md (Spanish)
arnaud4d Feb 13, 2026
a8e038d
New translations properties_textandpicture.md (Spanish)
arnaud4d Feb 13, 2026
6c36cf8
New translations parameters.md (Spanish)
arnaud4d Feb 14, 2026
fa79a40
New translations properties_scale.md (Spanish)
arnaud4d Feb 14, 2026
00f4e4b
New translations properties_textandpicture.md (Spanish)
arnaud4d Feb 14, 2026
91b277a
New translations async.md (French)
arnaud4d Feb 14, 2026
4c848eb
New translations search-replace.md (Japanese)
arnaud4d Feb 16, 2026
c049215
New translations search-replace.md (Japanese)
arnaud4d Feb 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,28 +170,34 @@ La instrucción `return` finaliza la ejecución de una función o de un método
Por ejemplo, la siguiente función devuelve el cuadrado de su argumento, $x, donde $x es un número.

```4d
Function square($x : Integer) -> $result : Integer
Function square($x : Integer) : Integer
return $x * $x
```

:::note

Internamente, `return x` ejecuta `myReturnValue:=x`, y regresa al llamante. Si `return` se utiliza sin una expresión, la función o el método devuelve un valor nulo del tipo de retorno declarado (si lo hay), de lo contrario *undefined*.

:::

La instrucción `return` puede utilizarse junto con la sintaxis estándar para los [valores devueltos](#valor-devuelto) (el valor devuelto debe ser del tipo declarado). Sin embargo, hay que tener en cuenta que termina inmediatamente la ejecución del código. Por ejemplo:
La instrucción `return` puede utilizarse junto con la sintaxis estándar para los [valores devueltos](#valor-devuelto) (el valor devuelto debe ser del tipo declarado). When you have declared a return parameter (e.g. `myFunction() -> $myReturnValue : Text`), `return $x` implicitely executes `$myReturnValue:=$x`, and returns to the caller. Keep in mind that it ends immediately the code execution. Examine the following examples:

```4d
Function getValue -> $v : Integer
$v:=10
return
// function returns 10

Function getValue -> $v : Integer
$v:=10
return 20
// devuelve 20
// function returns 20

Function getValue -> $v : Integer
return 10
$v:=20 // nunca ejecutado
// devuelve 10
$v:=20 // never executed
// function returns 10

Function getValue -> $v : Integer
return "Hello" //error

Function returnHello
return "Hello"
// function returns "Hello"
```

## Indirección de parámetros (${N})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Valor mínimo de un indicador. Para los steppers numéricos, esta propiedad repr

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md) - [OBJECT SET MINIMUM VALUE](../commands-legacy/object-set-minimum-value.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md) - [OBJECT SET MINIMUM VALUE](../commands-legacy/object-set-minimum-value.md)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ El nombre de la ruta a introducir es similar al de [la propiedad Ruta de acceso

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand All @@ -41,7 +41,7 @@ Aspecto general del botón. El estilo del botón también influye en la disponib

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand Down Expand Up @@ -70,7 +70,7 @@ Este parámetro es útil, por ejemplo, cuando la imagen de fondo contiene bordes

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand All @@ -90,7 +90,7 @@ Designa la ubicación de un icono en relación con el objeto formulario.

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand All @@ -112,7 +112,7 @@ El título del botón se desplazará hacia la derecha y hacia la parte inferior

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand Down Expand Up @@ -151,7 +151,7 @@ Cada estado está representado por una imagen diferente. En la imagen fuente, lo

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand All @@ -175,7 +175,7 @@ El nombre de la ruta a introducir es similar al de [la propiedad Ruta de acceso

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand Down Expand Up @@ -205,7 +205,7 @@ Aquí están los resultados utilizando las distintas opciones para esta propieda

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand All @@ -231,7 +231,7 @@ Por defecto, cuando un botón contiene un título y una imagen, los elementos se

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand All @@ -255,7 +255,7 @@ Este parámetro es útil, por ejemplo, cuando la imagen de fondo contiene bordes

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

---

Expand Down Expand Up @@ -294,15 +294,15 @@ Es importante señalar que la propiedad "Con menú emergente" sólo gestiona el

#### Gramática JSON

| Nombre | Tipos de datos | Valores posibles |
| :------------- | -------------- | ---------------------------------------------------- |
| popupPlacement | string | <li>"none"</li><li>"linked"</li><li>"separated"</li> |
| Nombre | Tipos de datos | Valores posibles |
| :------------- | -------------- | ------------------------------------------------------------- |
| popupPlacement | string | <ul><li>"none"</li><li>"linked"</li><li>"separated"</li></ul> |

#### Objetos soportados

[Botón de barra de herramientas](button_overview.md#toolbar) - [Botón biselado](button_overview.md#bevel) - [Botón biselado redondeado](button_overview.md#rounded-bevel) - [Botón de degradado OS X](button_overview.md#os-x-gradient) - [Botón con textura OS X](button_overview.md#os-x-textured) - [Botón Office XP](button_overview.md#office-xp) - [Botón circular](button_overview.md#circle) - [Personalizado](button_overview.md#custom)
[Toolbar Button](button_overview.md#toolbar) - [Bevel Button](button_overview.md#bevel) - [Rounded Bevel Button](button_overview.md#rounded-bevel) - [OS X Gradient Button](button_overview.md#os-x-gradient) - [OS X Textured Button](button_overview.md#os-x-textured) - [Office XP Button](button_overview.md#office-xp) - [Custom](button_overview.md#custom)

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md)

Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@ toc_max_heading_level: 3

<!--REF #_command_.Open form window.Params-->

<div class="no-index">

| Parámetros | Tipo | | Descripción |
| ---------- | ------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| aTable | Tabla | &#8594; | Tabla del formulario o Tabla por defecto, si se omite |
| formName | Text, Object | &#8594; | Name (string) of table or project form, or a POSIX path (string) to a .json file describing the form, oran object describing the form |
| type | Integer | &#8594; | Window type |
| type | Integer | &#8594; | Tipo de ventana |
| hPos | Integer | &#8594; | Horizontal position of the window |
| vPos | Integer | &#8594; | Posición vertical de la ventana |
| \* | Operador | &#8594; | Guardar la posición y el tamaño actuales de la ventana |
| Resultado | Integer | &#8592; | Número de referencia de la ventana |

</div>
<!-- END REF-->

## Descripción
Expand Down Expand Up @@ -83,7 +86,7 @@ These parameters are expressed relative to the top left corner of the contents a

If you pass the optional parameter *\**, the current position and size of the window are memorized when closed. Cuando se vuelve a abrir la ventana, se respetan su posición y tamaño anteriores. In this case, the *vPos* and *hPos* parameters are only used the first time the window is opened.

### Window types {#window-types}
### Tipos de ventanas {#window-types}

#### Controller form window {#controller-form-window}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,10 +544,10 @@ Este ejemplo ilustra el uso de la opción `ck resolve pointers`:
<!-- REF #collection.count().Params -->
<div class="no-index">

|Parameter|Type||Description|
|Parámetro|Tipo||Descripción|
|---------|--- |:---:|------|
|propertyPath|Text|->|Object property path to be used for calculation|
|Result|Real|<-|Number of elements in the collection|
|propertyPath|Text|->|Ruta de propiedad del objeto a utilizar para el cálculo|
|Resultado|Real|<-|Number of elements in the collection|
</div>
<!-- END REF -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,4 @@ Es importante señalar que la propiedad "Con menú emergente" sólo gestiona el

#### Objetos soportados

[Botón de la barra de herramientas](button_overview.md#toolbar) - [Botón Bisel](button_overview.md#bevel) - [Botón Bisel redondeado](button_overview.md#rounded-bevel) - [Botón Gradiente OS X](button_overview.md#os-x-gradient) - [Botón Texturizado OS X](button_overview.md#os-x-textured) - [Botón Office XP](button_overview.md#office-xp) - [Botón Círculo](button_overview.md#circle) - [Personalizado](button_overview.md#custom)
[Toolbar Button](button_overview.md#toolbar) - [Bevel Button](button_overview.md#bevel) - [Rounded Bevel Button](button_overview.md#rounded-bevel) - [OS X Gradient Button](button_overview.md#os-x-gradient) - [OS X Textured Button](button_overview.md#os-x-textured) - [Office XP Button](button_overview.md#office-xp) - [Custom](button_overview.md#custom)
Original file line number Diff line number Diff line change
Expand Up @@ -647,10 +647,10 @@ Este ejemplo ilustra el uso de la opción `ck resolve pointers`:
<!-- REF #collection.count().Params -->
<div class="no-index">

|Parameter|Type||Description|
|Parámetro|Tipo||Descripción|
|---------|--- |:---:|------|
|propertyPath|Text|->|Object property path to be used for calculation|
|Result|Real|<-|Number of elements in the collection|
|propertyPath|Text|->|Ruta de propiedad del objeto a utilizar para el cálculo|
|Resultado|Real|<-|Number of elements in the collection|
</div>
<!-- END REF -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ Es importante señalar que la propiedad "Con menú emergente" sólo gestiona el

#### Gramática JSON

| Nombre | Tipos de datos | Valores posibles |
|:-------------- | -------------- | --------------------------------------------------------------------------- |
| popupPlacement | string | <li>"none"</li><li>"linked"</li><li>"separated"</li> |
| Nombre | Tipos de datos | Valores posibles |
|:-------------- | -------------- | ------------------------- |
| popupPlacement | string | <ul><li>"none"</li><li>"linked"</li><li>"separated"</li></ul> |

#### Objetos soportados

[Botón de la barra de herramientas](button_overview.md#toolbar) - [Botón Bisel](button_overview.md#bevel) - [Botón Bisel redondeado](button_overview.md#rounded-bevel) - [Botón Gradiente OS X](button_overview.md#os-x-gradient) - [Botón Texturizado OS X](button_overview.md#os-x-textured) - [Botón Office XP](button_overview.md#office-xp) - [Botón Círculo](button_overview.md#circle) - [Personalizado](button_overview.md#custom)
[Toolbar Button](button_overview.md#toolbar) - [Bevel Button](button_overview.md#bevel) - [Rounded Bevel Button](button_overview.md#rounded-bevel) - [OS X Gradient Button](button_overview.md#os-x-gradient) - [OS X Textured Button](button_overview.md#os-x-textured) - [Office XP Button](button_overview.md#office-xp) - [Custom](button_overview.md#custom)
Original file line number Diff line number Diff line change
Expand Up @@ -174,24 +174,30 @@ Function square($x : Integer) -> $result : Integer
return $x * $x
```

:::note

Internamente, `return x` ejecuta `myReturnValue:=x`, y regresa al llamante. Si `return` se utiliza sin una expresión, la función o el método devuelve un valor nulo del tipo de retorno declarado (si lo hay), de lo contrario *undefined*.

:::

La instrucción `return` puede utilizarse junto con la sintaxis estándar para los [valores devueltos](#valor-devuelto) (el valor devuelto debe ser del tipo declarado). Sin embargo, hay que tener en cuenta que termina inmediatamente la ejecución del código. Por ejemplo:
La instrucción `return` puede utilizarse junto con la sintaxis estándar para los [valores devueltos](#valor-devuelto) (el valor devuelto debe ser del tipo declarado). When you have declared a return parameter (e.g. `myFunction() -> $myReturnValue : Text`), `return $x` implicitely executes `$myReturnValue:=$x`, and returns to the caller. Keep in mind that it ends immediately the code execution. Examine the following examples:

```4d
Function getValue -> $v : Integer
$v:=10
return
// function returns 10

Function getValue -> $v : Integer
$v:=10
return 20
// devuelve 20
// function returns 20

Function getValue -> $v : Integer
return 10
$v:=20 // nunca ejecutado
// devuelve 10
$v:=20 // never executed
// function returns 10

Function getValue -> $v : Integer
return "Hello" //error

Function returnHello
return "Hello"
// function returns "Hello"
```

## Indirección de parámetros (${N})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Valor mínimo de un indicador. Para los steppers numéricos, esta propiedad repr

#### Comandos

[OBJECT Get format](../commands-legacy/object-get-format.md) [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md) - [OBJECT SET MINIMUM VALUE](../commands-legacy/object-set-minimum-value.md)
[OBJECT Get format](../commands-legacy/object-get-format.md) - [OBJECT Get minimum-value](../commands-legacy/object-get-minimum-value.md) - [OBJECT SET FORMAT](../commands-legacy/object-set-format.md) - [OBJECT SET MINIMUM VALUE](../commands-legacy/object-set-minimum-value.md)

---

Expand Down
Loading
Loading