categoryML

^:文字の連結

trackback0  comment0
プログラミング覚書 ML-002

^:文字の連結
----------------------------------------------------------------------

- 23.5 + 45.6;
val it = 69.1 : real
- val test = "Hello";
val test = "Hello" : string
- val aisatu = test ^ " " ^ "World!";
val aisatu = "Hello World!" : string
- size aisatu;
val it = 12 : int
- aisatu;
val it = "Hello World!" : string

----------------------------------------------------------------------
関連記事
 









        
 
http://greenwind888.blog.fc2.com/tb.php/260-4ca0915b