Nyx. Problems with the range command

Post all technical issues and questions here. We'll gladly help you wherever we can.
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Nyx. Problems with the range command

Post 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?
seraph0x
Administrator
Administrator
Posts: 2666
Joined: Sun Jul 23, 2006 8:58 am

Re: Nyx. Problems with the range command

Post 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#))
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Nyx. Problems with the range command

Post 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
Post Reply