2025-07-04 01:10:14 +02:00
# GuiScriptAdd
2025-08-26 17:52:06 +08:00
Reload the script view with a new script.
2025-07-04 01:10:14 +02:00
```c++
2025-08-26 17:52:06 +08:00
void GuiScriptAdd(int count, const char** lines);
2025-07-04 01:10:14 +02:00
```
## Parameters
2025-08-26 17:52:06 +08:00
`count` Number of lines;
`lines` A buffer containing `count` pointers to UTF-8 strings, each representing a single line. This buffer is freed by [BridgeFree ](../bridge/BridgeFree.md ) afterwards.
2025-07-04 01:10:14 +02:00
## Return Value
2025-08-26 17:52:06 +08:00
This function does not return a value.
2025-07-04 01:10:14 +02:00
## Example
```c++
Example code.
```
## Related functions
- List of related functions