Page 2 of 2

Re: Nyx. Problems with the range command

Posted: Sat Nov 29, 2008 2:49 am
by avatarbr
seraph0x wrote:
Wahh, nono. The must command does not appear in any page!!
Set and unset commands does not appear in any page too? Or I need to put in a page?

Re: Nyx. Problems with the range command

Posted: Sat Nov 29, 2008 11:48 pm
by seraph0x
avatarbr wrote:Set and unset commands does not appear in any page too? Or I need to put in a page?
Set and unset need to appear inside of a page as hidden commands.

Code: Select all

page40#page(
'My text',
pic('myimage.jpg'),
go(range(41, 42, 'page')),
hidden:unset(page41#, page42#)
)
If you need to call both set() and unset() from the same page, you need to group them with mult(), e.g.:

Code: Select all

hidden:mult(set(page1#, page2#, page3#, page4#), unset(page5#, page6#))

Re: Nyx. Problems with the range command

Posted: Sun Nov 30, 2008 12:10 am
by avatarbr
Thanks seraph0x.

I just release the tease. Look works.

I put unset in pages, but dont work in the same page you want to unset (like PCM).
i.e.: Page2, dont can have the unset page2

But I get a way to do this work :-D