# If ()?:; and page flip

**URL:** <https://forum.kirupa.com/t/if-and-page-flip/218785>\
**Category:** Uncategorized\
**Created:** [March 10, 2007, 11:43pm UTC](https://forum.kirupa.com/t/if-and-page-flip/218785 "2007-03-10T23:43:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan0](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Post date:** [March 10, 2007, 11:43pm UTC](https://forum.kirupa.com/t/if-and-page-flip/218785/1 "2007-03-10T23:43:28Z")

</div>

Hey!  
My first question is using the short hand if ?: what is the “proper” way of terminating the else statement eg:  
(x==1)?trace(“A”):; //returns and error because no else statement defined  
(x==1)?trace(“A”):null; //no error but is it correct?

My second question is about the page flip  
[http://www.iparigrafika.hu/pageflip/](http://www.iparigrafika.hu/pageflip/)

> **[FlippingBook Digital Publishing Solution](https://flippingbook.com/)**
>
> Make professional mobile-ready flip book from any document. Get trusted solution and impress your audience with quality digital publishing.

  
In england we have these exams called GCSEs which are the first and only nationally compulsory exams in england (14\>16). I am doing art graphics and I was looking into the page flip experiments. Above are the links. I got the source code but I honestly can not understand it. There are so many randomly named variables and so much random stuff that I cant understand it. For me it is not good enough to just copy and paste. I need to understand the script and make it my own. I tried creating some things using trigonometry and I think I have the basic idea but I just can’t get it working exactly right. Is there ANYWHERE that explains the code/concept of the page flip? Please help me 😃

Thanks for your help again,  
Dan:goatee:❌azn::ogre::ro::trout::3ye:
