OSDN Git Service
(root)
/
ring-lang-081
/
annotated-ring-with-OmegaT.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
こっそり、気持ち程度の日本語化しました (UTF-8 / Windows 環境用)。
[ring-lang-081/annotated-ring-with-OmegaT.git]
/
target
/
ringlibs
/
stdlib
/
stdbase.ring
1
# Ring 標準ライブラリ
2
# アプリケーション用の汎用関数とクラス
3
# 2016, Mahmoud Fayed <msfclipper@yahoo.com>
4
5
Class StdBase
6
7
vValue
8
9
Func Init x
10
vValue = x
11
12
Func Print
13
See vValue
14
15
Func PrintLn
16
Print()
17
See nl
18
19
Func Size
20
return len(vValue)
21
22
Func Value
23
return vValue
24
25
Func Set x
26
Init(x)