OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / rnote / source / templates.ring
diff --git a/applications/rnote/source/templates.ring b/applications/rnote/source/templates.ring
new file mode 100644 (file)
index 0000000..aac7997
--- /dev/null
@@ -0,0 +1,20 @@
+aCodeTemplates = [ 
+       ["[comment] Separator (====)", func {
+               return "#"+Copy("=",70) + "#" + nl 
+       } ],
+       ["[Comment] Insert Date & Time" , func {
+               return "# Date   : " + Date() + nl + "# Time   : " + Time() + nl  
+       } ],
+       ["[Comment] Author Name", func {
+               return "# Author :" + nl
+       } ],
+       ["[Comment] Function Description", func {
+               return "/*" + nl +
+                       " Function Name :" + nl + 
+                       " Parameters    :" + nl +
+                       " Output        :" + nl + 
+                       " Description   :" + nl +  
+               "*/" + nl
+       } ]  
+]
+