source: Include/system/string.sbp@ 130

Last change on this file since 130 was 119, checked in by イグトランス (egtra), 18 years ago

Unicode (#50) 前準備
Byte→Char (#51) 型名は殆ど完了、ただし中身までは手を付けていないものが多い

File size: 405 bytes
Line 
1'string.sbp
2'文字列変数の操作用
3
4#ifndef _INC_BASIC_STRING
5#define _INC_BASIC_STRING
6
7Function StrPtr(buf As *Char) As *Char
8 StrPtr = buf
9End Function
10
11Function ZeroString(length As Long) As String
12 Dim str As String
13 str.ReSize(length)
14 Return str
15End Function
16
17Function MakeStr(pBuf As *Char) As String
18 Dim temp As String(pBuf)
19 Return temp
20End Function
21
22#endif '_INC_BASIC_STRING
Note: See TracBrowser for help on using the repository browser.