docs: confirm Option A (no var/let; explicit local). Add notes to cheatsheet, language reference, tutorials. CURRENT_TASK updated with decision and next small items.
This commit is contained in:
@ -215,6 +215,8 @@ x = 42
|
||||
y = 42 // Runtime Error + 修正提案
|
||||
```
|
||||
|
||||
注記: Nyash は `var`/`let` をサポートしません。必ず `local` で宣言してから使用します。
|
||||
|
||||
### ループ構文統一
|
||||
```nyash
|
||||
// ✅ 唯一の正しい形式
|
||||
@ -251,4 +253,4 @@ while condition { } // 使用不可
|
||||
📚 **関連ドキュメント:**
|
||||
- [Getting Started](GETTING_STARTED.md) - 環境構築・最初の一歩
|
||||
- [P2P Guide](P2P_GUIDE.md) - P2P通信システム完全ガイド
|
||||
- [Built-in Boxes](reference/builtin-boxes.md) - ビルトインBox詳細リファレンス
|
||||
- [Built-in Boxes](reference/builtin-boxes.md) - ビルトインBox詳細リファレンス
|
||||
|
||||
Reference in New Issue
Block a user