• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

BASIC compiler/interpreter for PIC32MX/MZ-80K


Commit MetaInfo

修訂0f68bf584708ace15d9b94bf7ca0db495cd5a2b8 (tree)
時間2019-02-05 07:18:57
作者Katsumi <kmorimatsu@sour...>
CommiterKatsumi

Log Message

Permit using RETURN statement in loop. Test only and codes were inserted in previous commit.

Change Summary

差異

--- a/mips/megalopa/debug.c
+++ b/mips/megalopa/debug.c
@@ -251,12 +251,17 @@ static const char classtext[]=
251251 "return TEST+TEST2\n"
252252 "METHOD TEST4\n"
253253 " TEST6=args(1)\n"
254-"return 3.14\n"
254+" while 1\n"
255+" return 3.14\n"
256+" wend\n"
257+" end\n"
255258 "METHOD TEST5\n"
256259 "return hex$(0xabc)\n"
257260 "METHOD TEST7\n"
258-"return TEST6\n"
259-"\n"
261+" for i=1 to 2\n"
262+" return TEST6\n"
263+" next\n"
264+" end\n"
260265 "\n"
261266 "\n"
262267 "\n"