You can use a head block inline (already in core).

On Wed, May 11, 2016 at 4:09 PM Richard Bell <richard.be...@gmail.com>
wrote:

> Hello,
>
> I want to add an additional parameter to the existing file sink block that
> lets the user tell it how many items to save to file. This amounts to
> adding a few lines to the existing file sink work function.
>
> What's the smartest way to do this? What I would do currently is create a
> new block, copy and paste the existing file sink code to my new block and
> add the few lines of code to change it. Is there a smarter way?
>
> Rich
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
-- 
Very Respectfully,

Dan CaJacob
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to