Hi,
I've found solution with printf, thanks!

BTW: What's going on with CVS?

Marcin


W dniu 02.12.2012 23:20, Riccardo (Jack) Lucchetti pisze:
> On Sun, 2 Dec 2012, Marcin Błażejowski wrote:
>
>> Hi,
>> suppose we have trivial code:
>> ---
>> matrix foo = zeros(2,2)
>> print foo
>> ---
>>
>> The obvious result is:
>> ---
>> foo (2 x 2)
>>
>>  0   0
>>  0   0
>> ---
>>
>> But is it possible to get only the numbers (without foo (2 x 2))?
>
> How about printf, as in
>
> <hansl>
> matrix foo = zeros(2,2)
> printf "%8g", foo
> </hansl>
>
> ?
>
> -------------------------------------------------------
>   Riccardo (Jack) Lucchetti
>   Dipartimento di Scienze Economiche e Sociali (DiSES)
>
>   Università Politecnica delle Marche
>   (formerly known as Università di Ancona)
>
>   r.lucchetti(a)univpm.it
>   http://www2.econ.univpm.it/servizi/hpp/lucchetti
> -------------------------------------------------------
>
>
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users

Hi,
I've found solution with printf, thanks!

BTW: What's going on with CVS?

Marcin


W dniu 02.12.2012 23:20, Riccardo (Jack) Lucchetti pisze:
On Sun, 2 Dec 2012, Marcin Błażejowski wrote:

Hi,
suppose we have trivial code:
---
matrix foo = zeros(2,2)
print foo
---

The obvious result is:
---
foo (2 x 2)

 0   0
 0   0
---

But is it possible to get only the numbers (without foo (2 x 2))?

How about printf, as in

<hansl>
matrix foo = zeros(2,2)
printf "%8g", foo
</hansl>

?

-------------------------------------------------------
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucche...@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------


_______________________________________________
Gretl-users mailing list
gretl-us...@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users

<<attachment: marcin.vcf>>

Reply via email to