Hansl primer, p. 35:
Each of the type-specifiers, with the exception of list and string, may be
modified by prepending an asterisk to the associated parameter name, as in
function scalar myfunc (matrix *y)
--- Оригінальне повідомлення ---
Від кого: "Logan Kelly" < logan.kelly(a)uwrf.edu >
.)
Logan
Sent from my T-Mobile 4G LTE Device
Original message
From: oleg_komashko(a)ukr.net
List-Post: gretl-users@gretlml.univpm.it
Date:04/30/2014 5:25 AM (GMT-06:00)
To: Gretl list
Cc: gretl-users(a)lists.wfu.edu
Subject: Re: [Gretl-users] String pointer?
Hansl primer, p. 35
On 30/04/14 02:50, Logan Kelly wrote:
>
> Hello,
>
> Are pointers to strings allowed? (I am using 1.9.15cvs on Win7 64 bit)
> The following script:
>
> function test(string *t)
>
> t="Hello World"
>
> end function
>
> string MyTestString
>
> test()
>
> print MyTestString
>
> yields the
Hello,
Are pointers to strings allowed? (I am using 1.9.15cvs on Win7 64 bit) The
following script:
function test(string *t)
t="Hello World"
end function
string MyTestString
test()
print MyTestString
yields the following error
gretl version 1.9.15cvs
Current session: 2014-04-29 19:46
?