🐛 fix(tsl-syntax-reference): correct wrong facts on pages 15 and 16

- 16's numeric literal example prints nine values but its output fragment
  listed three lines; replace it with what the interpreter actually
  prints, so the fragment stops contradicting the prose in the same block
- 15's keyword table listed `inherited` as reserved-but-unused, which
  contradicts the `Inherited;` / `Inherited MethodName(...)` examples on
  08; both run on windows-tsl and AnalyseNG.NET, so the keyword moves to
  the class row and points at 08

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
csh
2026-07-30 21:33:03 +08:00
co-authored by Claude Opus 5
parent 0dcd968188
commit bcad28d22c
2 changed files with 8 additions and 2 deletions
@@ -35,13 +35,13 @@ TSL 关键字大小写无关;本表统一按文档推荐写法展示。生成
| 参数访问 | `params``paramCount``realParamCount``var``out``const` | 普通参数优先写具名形参;`params` / `paramCount` / `realParamCount` 只用于变参或参数个数判断。 |
| 运行时上下文 | `sysParams``system``debugReturn``debugRunEnv``debugRunEnvDo``echo``global``static``thisFunction``_myMem_``_maxMem_``__line__``__stack_frame` | 运行时系统参数见 [10_runtime_context_and_with.md](10_runtime_context_and_with.md);调试相关事实见 [14_debug_and_profiler.md](14_debug_and_profiler.md)。 |
| LIKE 精度 | `likeEps``likeEpsRate` | 只在需要调整 `like` 数值近似判断阈值时使用。 |
| 类与对象 | `type``class``new``findClass``findFunction``fackClass``property``self``virtual``override``overload``protected``public``private``published``static` | 类声明、对象创建和成员规则见 [08_objects_and_classes.md](08_objects_and_classes.md)。 |
| 类与对象 | `type``class``new``findClass``findFunction``fackClass``property``self``virtual``override``overload``Inherited``protected``public``private``published``static` | 类声明、对象创建和成员规则见 [08_objects_and_classes.md](08_objects_and_classes.md)`Inherited;` / `Inherited MethodName(...)` 是祖先类调用写法,同见该页。 |
| 外部调用约定 | `external``cdecl``pascal``stdcall``safecall``fastcall``register` | 外部调用细节见 [17_external_calls_and_threads.md](17_external_calls_and_threads.md)。 |
| 客户端远程调用与权限 | `rdo``rdo2``sudo``setUid` | 平台/客户端远程调用和权限语义不作为普通本地语法模板。 |
| TS-SQL 查询 | `select``vselect``sselect``mselect``distinct``selectOpt``dRange``as``from``marketTable``infoTable``tradeTable``sqlTable``hugeSqlTable``keepNull``dateKey``of``order``by``where``desc``asc``group``having` | 查询语法见 [13_ts_sql.md](13_ts_sql.md)。 |
| TS-SQL 聚合与上下文 | `checksumOf``countOf``sumOf``maxOf``stdevOf``varOf``totalVarOf``normOf``medianOf``aveDevOf``geoMeanOf``skewOf``kurtosisOf``skew2Of``kurtosis2Of``largeOf``percentileOf``quartileOf``trimMeanOf``avgOf``minOf``aggOf``stdevpOf``varpOf``modeOf``devSqOf``harMeanOf``checksum_aggOf``smallOf``percentRankOf``rankOf``frequencyOf``productOf``refOf``refsOf``aggValue``thisGroup``thisRow``thisRowIndex``thisOrder` | 这些名称只在 TS-SQL 语境中生成。 |
| TS-SQL 写入 | `insert``insertFields``values``update``set``delete``deleteOpt``fetchFirst``fetchNext` | 写回/变更型查询只按 TS-SQL 专题页生成。 |
| 系统保留未使用 | `exports``dispInterface``library``asm``record``resourceString``threadVar``constructor``destructor``inline``packed``abstract``inherited` | 这些名称被系统保留,不作为普通标识符使用,也不作为可写语法模板。 |
| 系统保留未使用 | `exports``dispInterface``library``asm``record``resourceString``threadVar``constructor``destructor``inline``packed``abstract` | 这些名称被系统保留,不作为普通标识符使用,也不作为可写语法模板。 |
<!-- prettier-ignore-end -->
## 可直接照写示例
@@ -68,6 +68,12 @@ writeLn(ifReal(1E2));
```text
1
1
1
1
1
1
1
0
1
```