CHAPTER 6 MAKING DECISIONS WITH CONDITIONAL LOGIC (Web hosting resellers)

CHAPTER 6 MAKING DECISIONS WITH CONDITIONAL LOGIC 181 The following procedure outlines the steps involved in declaring each of these properties. 1. Double-click the application s window to switch over to the Code Editor. 2. Click the Add property button located on the Code Editor toolbar or click Project . Add . Property. 3. REALbasic responds by displaying a property declaration field at the top of the code pane. Enter intNoGuessed as Integer in the declaration field, as Figure 6-5 shows. Figure 6-5. Adding a new property to a window 4. Repeat steps 2 through 4 to define the intSecretNumber and intTotalNoOfTurns properties. Adding a Little Program Code Once you finish adding the three properties, you are ready to begin writing the code state- ments needed to make the game work. Begin by switching back to the Window Layout view of the Windows Editor, and then double-click the window. REALbasic responds by opening the Code Editor and displaying the Open event belonging to the window. Enter the following code statements.
From our experience, we can recommend PHP Web Hosting services, if you need affordable webhost to host and run your web application.

Leave a Reply