Updated some documents

This commit is contained in:
NovaRain
2023-07-03 15:39:56 +08:00
parent f42b232e19
commit 9f6ca9d55d
5 changed files with 10 additions and 6 deletions
@@ -356,6 +356,7 @@ There are several changes in this version of sslc which may result in problems f
- fixed optimizer not treating `call string_variable` as variable use
- fixed unused arguments in a procedure being removed incorrectly by the optimizer
- fixed unused string literals in an optimized-out procedure not being removed by the optimizer
- fixed `get_array` syntax not working for exported variables
**sfall 4.2.9:**
- added support for additional universal opcodes `sfall_func7` and `sfall_func8`
+1 -1
View File
@@ -930,7 +930,7 @@ sfall_funcX metarule functions
----
#### string_format
`string sfall_func2("string_format", string format, any val1)`
`string sfall_func2("string_format", string format, any val1)`\
`string sfall_funcX("string_format", string format, any val1, any val2, ...)`
- Formats given values using standard syntax of C `printf` function (google "printf" for format details). However, it is limited to formatting up to 7 values
- The format string is limited to 1024 characters