Skip to content

Commit

Permalink
YAYA Tc564-1のSLEEP関数に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolat committed Nov 12, 2021
1 parent 48e2571 commit 5d565de
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ postic http://navy.nm.land.to/post/


■更新履歴
2021.11.12 builtins.aymにsleepを追加
      yaya.dllを Tc564-1に変更
      ファイルの文字コードをShift_JISからUTF-8に変更
      ※配布場所をGitHubに移行 以降の更新履歴はコミットログを参照
      [編集者:Don]
2021.10.08 builtins.aymにisevaluableとsettamahwndとisglobaldefineとsetglobaldefineとappend_runtime_dicを追加
      yaya.dllを Tc562-1に変更
      [編集者:Don]
Expand Down
11 changes: 11 additions & 0 deletions yaya_saori/builtins.aym
Original file line number Diff line number Diff line change
Expand Up @@ -1776,3 +1776,14 @@ append_runtime_dic

RES.RESULT = APPEND_RUNTIME_DIC(REQ.ARGS[0])
}

sleep
{
if ARRAYSIZE(REQ.ARGS) < 1 {
LOGGING("sleep: 引数が不足しています")
-1
return
}

RES.RESULT = SLEEP(TOINT(REQ.ARGS[0]))
}
2 changes: 2 additions & 0 deletions yaya_saori/messagetxt/classical-chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
*天戒E0094:{}效或未正閉。
*天戒E0095:復載同文。
*天戒E0096:欲弃空文。
*天戒E0097:術行之深及限。后行乃止。
*天戒E0098:循環數及限。后行乃止。
//
// ワーニング文列(古中語)
!!!msgw
Expand Down
2 changes: 2 additions & 0 deletions yaya_saori/messagetxt/english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
*error E0094 : The parenthesis {} is invalid or has not been closed correctly.
*error E0095 : Tried to load a duplicate dictionary.
*error E0096 : Attempted to unload a dictionary that was not loaded.
*error E0097 : Depth of the function call has reached its limit. Following execution has been aborted.
*error E0098 : Loop count has reached its limit. Following execution has been aborted.
//
// ワーニング文字列(英語)
!!!msgw
Expand Down
2 changes: 2 additions & 0 deletions yaya_saori/messagetxt/japanese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
*error E0094 : 辞書内部で{}が不正、もしくは閉じていません.
*error E0095 : 読み込み済の辞書ファイルを再度読もうとしました.
*error E0096 : 読み込まれていない辞書ファイルを開放しようとしました.
*error E0097 : 関数呼び出しの深さが限界に達しました.以降の処理を強制中断しました.
*error E0098 : ループ回数が限界に達しました.以降の処理を強制中断しました.
//
// ワーニング文字列(日本語)
!!!msgw
Expand Down
2 changes: 2 additions & 0 deletions yaya_saori/messagetxt/simplified-chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
*错误E0094:括号{}无效或未正确关闭。
*错误E0095:尝试加载重复辞书。
*错误E0096:试图卸载未加载的辞书。
*错误E0097:函数调用的深度已经达到限制。后续的执行已被中止。
*错误E0098:循环次数已达到限制。后续的执行已被中止。
//
// ワーニング文字列(中國語)
!!!msgw
Expand Down
2 changes: 2 additions & 0 deletions yaya_saori/messagetxt/traditional-chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
*錯誤E0094:括弧{}無效或未正確關閉。
*錯誤E0095:嘗試加載重複辭書。
*錯誤E0096:試圖卸載未加載的辭書。
*錯誤E0097:函數調用的深度已經達到限制。後續的執行已被中止。
*錯誤E0098:迴圈次數已達到限制。後續的執行已被中止。
//
// ワーニング文字列(中國語)
!!!msgw
Expand Down
Binary file modified yaya_saori/yaya.dll
Binary file not shown.

0 comments on commit 5d565de

Please sign in to comment.