source: Include/system/string.sbp@ 89

Last change on this file since 89 was 1, checked in by (none), 18 years ago
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 *Byte) As *Byte
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 *Byte) 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.