3 with Interfaces
; use Interfaces
;
7 type buf_t
is array (unsigned_32
range <>) of character;
8 type v_str_t
(first
, last
: unsigned_32
) is
10 buf
: buf_t
(first
.. last
) := (others => ' ');
12 type v_str_ptr_t
is access all v_str_t
;
16 function build_v_str
(f
, l
: unsigned_32
) return v_str_ptr_t
is
17 vp
: v_str_ptr_t
:= new v_str_t
(f
, l
);
23 v_str
:= build_v_str
(unsigned_32
'last/2 - 256,
24 unsigned_32
'last/2 + 1024*1024);