Skip to content

Commit 4675f79

Browse files
authored
Merge pull request #368 from doc4d/main
improvements 20 R7
2 parents bd28382 + 4cbd178 commit 4675f79

File tree

931 files changed

+12921
-6061
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

931 files changed

+12921
-6061
lines changed

docs/API/SessionClass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The availability of properties and functions in the `Session` object depends on
6767

6868
:::note
6969

70-
This function does nothing and always returns **False** with remote client and stored procedure sessions.
70+
This function does nothing and always returns **True** with remote client and stored procedure sessions.
7171

7272
:::
7373

docs/Concepts/operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ $x3/=2 // $x3=5
128128
129129
// Multiplication
130130
$x2:=10
131-
$x2*=5 // $x2=10
131+
$x2*=5 // $x2=50
132132
133133
$t2:="Hello"
134134
$t2*=2 // $t2="HelloHello"

docs/Concepts/variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Variables
55

66
Data in 4D is stored in two fundamentally different ways. **Fields** store data permanently on disk; **variables** store data temporarily in memory.
77

8-
When you set up your 4D database, you specify the names and types of fields that you want to use. Variables are much the same—you also give them names and different types (see [Data types](Concepts/data-types.md)).
8+
When you set up your 4D database, you specify the names and types of fields that you want to use. Variables are much the same—you also give them names and different types (see [Data types](data-types.md)).
99

1010
Once created, you can use a variable wherever you need it in your application. For example, you might need to store a text variable in a field of same type:
1111

@@ -252,7 +252,7 @@ In Client/Server, each machine (Client machines and Server machine) share the sa
252252

253253
The 4D language manages several **system variables**, which allow you to control the execution of different operations. You can test their values and use them as any variable. All system variables are [process variables](#process-variables).
254254

255-
System variables are used by [4D commands](commands.md). Refer to the "System variables and sets" paragraph in the description of a command to find out whether it affects a system variable.
255+
System variables are used by [4D commands](../commands/command-index.md). Refer to the "System variables and sets" paragraph in the description of a command to find out whether it affects a system variable.
256256

257257

258258
|System variable name|Type|Description|

docs/FormObjects/listbox_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Form events on list box or list box column objects may return the following addi
278278

279279

280280

281-
## List box columns
281+
## List box columns {#list-box-columns}
282282

283283
A list box is made of one or more column object(s) which have specific properties. You can select a list box column in the Form editor by clicking on it when the list box object is selected:
284284

docs/FormObjects/properties_BackgroundAndBorder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You can also set this property using the [`LISTBOX SET PROPERTY`](https://doc.4d
6868

6969
---
7070

71-
## Border Line Style
71+
## Border Line Style {#border-line-style}
7272

7373
Allows setting a standard style for the object border.
7474

@@ -84,7 +84,7 @@ Allows setting a standard style for the object border.
8484

8585
---
8686

87-
## Dotted Line Type
87+
## Dotted Line Type {#dotted-line-type}
8888

8989
Describes dotted line type as a sequence of black and white points.
9090

docs/Notes/updates.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-v20-R
3434

3535
- Documentations for [4D Language](../commands/command-index.md) and [4D Write Pro Language](../WritePro/commands/command-index.md) are now fully available on developer.4d.com. Find out about all the new features and changes concerning these documentations in this release note.
3636
- Compiler directive commands (`C_XXX`) are now deprecated and have been renamed `_O_C_XXX` (for example, `C_TEXT` has been renamed `_O_C_TEXT`).
37+
- The [`File`](../commands/file.md) command (as well as [`4D.File.new()`](../API/FileClass.md#4dfilenew)) is stricter when it comes to checking the syntax of the *path* supplied as a parameter.
3738

3839

3940
## 4D 20 R6

docs/WebServer/qodly-studio.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ Qodly Studio proposes a full-featured web UI, allowing you to:
1616
- trigger 4D code by configuring events
1717
- and much more.
1818

19-
:::info
20-
21-
The development with Qodly Studio for 4D requires at least a [4D Silver Partner license](https://us.4d.com/4d-partner-program). Qodly Studio options and menu items won't appear if the license is not activated.
22-
23-
:::
2419

2520
## Configuration
2621

docs/commands-legacy/compile-project.md

Lines changed: 80 additions & 81 deletions
Large diffs are not rendered by default.

docs/commands-legacy/set-channel.md

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ displayed_sidebar: docs
1212
| --- | --- | --- | --- |
1313
| port | Integer | → | Serial port number |
1414
| settings | Integer | → | Serial port settings |
15-
| SET CHANNEL ( operation ; document ) |
16-
| Parameter | Type | Description |
1715
| operation | Integer | → | Document operation to perform |
1816
| document | Text | → | Document name |
1917

@@ -97,34 +95,33 @@ If you want to use the COM 25 port with the RTS/CTS protocol, you need to use th
9795

9896
The *settings* parameter sets the speed, number of data bits, number of stop bits, and parity. You determine the value for *settings* by adding the speed, data bits, stop bits, and parity values as listed in the following table. For example, to set 1200 baud, 8 data bits, 1 stop bit, and no parity, you would add 94 + 3072 + 16384 + 0 = 19550\. You would then use 19550 as the value of the *setup* parameter.
9997

100-
| **Value to accumulate** | **Description** | |
101-
| ------------------------- | --------------- | ---- |
102-
| **in settings parameter** | | |
98+
| Control |Value to accumulate in settings parameter | Description |
99+
|------------------------ | --------------- | ---- |
103100
| Speed | 380 | 300 |
104101
| (in baud) | 189 | 600 |
105-
| | 94 | 1200 | |
106-
| | 62 | 1800 | |
107-
| | 46 | 2400 | |
108-
| | 30 | 3600 | |
109-
| | 22 | 4800 | |
110-
| | 14 | 7200 | |
111-
| | 10 | 9600 | |
112-
| | 4 | 19200 | |
113-
| | 2 | 28800 | |
114-
| | 1 | 38400 | |
115-
| | 0 | 57600 | |
116-
| | 1022 | 115200 | |
117-
| | 1021 | 230400 | |
102+
| | 94 | 1200 |
103+
| | 62 | 1800 |
104+
| | 46 | 2400 |
105+
| | 30 | 3600 |
106+
| | 22 | 4800 |
107+
| | 14 | 7200 |
108+
| | 10 | 9600 |
109+
| | 4 | 19200 |
110+
| | 2 | 28800 |
111+
| | 1 | 38400 |
112+
| | 0 | 57600 |
113+
| | 1022 | 115200 |
114+
| | 1021 | 230400 |
118115
| Data bits | 0 | 5 |
119-
| | 2048 | 6 | |
120-
| 1024 | 7 | |
121-
| 3072 | 8 | |
116+
| | 2048 | 6 |
117+
| | 1024 | 7 |
118+
| | 3072 | 8 |
122119
| Stop bits | 16384 | 1 |
123-
| –32768 | 1.5 | |
124-
| –16384 | 2 | |
120+
| | –32768 | 1.5 |
121+
| | –16384 | 2 |
125122
| Parity | 0 | None |
126-
| 4096 | Odd | |
127-
| 12288 | Even | |
123+
|| 4096 | Odd |
124+
|| 12288 | Even |
128125

129126
**Tip:** The various numeric values to be accumulated and passed in *port* and *settings* (but not including the values for COM1...COM99) are available as predefined constants in the theme *Communications* within the Design environment Explorer windows. For COM1...COM99, use numeric literals.
130127

@@ -142,10 +139,8 @@ For example, to display an Open File dialog box to open a text file, you would u
142139

143140
| **Operation** | **Document** | **Result** |
144141
| ------------------------------------------------------------------ | ----------------- | ------------------------------------------------------------------------------------- |
145-
| 10 | String | Opens the document specified by String. |
146-
| If the document doesn’t exist, the document is opened and created. | | |
147-
| 10 | "" (empty string) | Displays the Open File dialog box to open a file. |
148-
| All file types are displayed. | | |
142+
| 10 | String | Opens the document specified by String. If the document doesn’t exist, the document is opened and created. | | |
143+
| 10 | "" (empty string) | Displays the Open File dialog box to open a file. All file types are displayed. | | |
149144
| 11 | none | Closes an open file. |
150145
| 12 | "" (empty string) | Displays the Save File dialog box to create a new file. |
151146
| 13 | "" (empty string) | Displays the Open File dialog box to open a file. Only text file types are displayed. |
@@ -159,7 +154,7 @@ See examples for the [RECEIVE BUFFER](receive-buffer.md), [SET TIMEOUT](set-time
159154
#### See also
160155

161156
[Append document](append-document.md)
162-
*Communications*
157+
[Communications](/category/commands/Communications)
163158
[Create document](create-document.md)
164159
[GET SERIAL PORT MAPPING](get-serial-port-mapping.md)
165160
[Open document](open-document.md)

docs/commands/file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ displayed_sidebar: docs
2020
|Parameter|Type||Description|
2121
|---------|--- |:---:|------|
2222
|path|Text|→ |File path|
23-
|fileConstant|→ |->|4D file constant|
23+
|fileConstant|Integer|→|4D file constant|
2424
|pathType|Integer|→ |`fk posix path` (default) or `fk platform path`|
2525
|*|operator|→ |* to return file of host database|
2626
|Result|4D.File|←|New file object|

0 commit comments

Comments
 (0)