Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Deferred size not possible with GEN23?

Date2008-07-21 22:10
Fromvictor
Subject[Csnd] Re: Deferred size not possible with GEN23?
It works here. I have test.txt containing

1 2 3 4 5 6 7 8 9 10

...
f1 0 0 23 "test.txt"
...

Csound runs and prints

SECTION 1:
ftable 1:
10 elements in test.txt


Victor

----- Original Message ----- 
From: "Mark Van Peteghem" 
To: 
Sent: Monday, July 21, 2008 9:54 PM
Subject: [Csnd] Deferred size not possible with GEN23?


> Hi,
>
> Now I ran into another problem with GEN23: the documentation says that if 
> the specified size is 0, the size is determined by the number of values in 
> the textfile. This would make what I want to do a lot easier, but when I 
> try it, I get the error "deferred-size ftable 1.000000 illegal here".
>
> I've had the same problem with GEN01, but then I could solve the problem 
> by first determining the size with the filelen opcode. I don't know of a 
> similar workaround for GEN23.
>
> -- 
>  Mark
>  _________________________________________
>  When you get lemons, you make lemonade.
>  When you get hardware, you make software.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"