Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 18 in printed book and digital formats -- plus a one-year subscription (beginning with 19.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 6.3

FEATURE

REALScience

Finite State Machines

Issue: 6.3 (March/April 2008)
Author: JC Cruz
Author Bio: JC is a freelance technical writer living in British Columbia. He writes for various publications, pokes around with Cocoa and REALbasic, and spends time with his nephew. He can be reached at: anarakisware@gmail.com
Article Description: No description available.
Article Length (in bytes): 31,606
Starting Page Number: 24
Article Number: 6312
Resource File(s):

Download Icon 6312.zip Updated: 2013-03-11 19:08:00

Related Web Link(s):

http://en.wikipedia.org/wiki/Tower_of_Hanoi
http://en.wikipedia.org/wiki/Bubble_sort
http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
http://en.wikipedia.org/wiki/Finite_state_machine

Excerpt of article text...

In today's REALScience, we will study the concept of finite state machines. First, we will learn the basic workings of such a machine. Then, we will build one using the REALbasic Thread class. Finally, we will build a demo project that will put our machine through its phases.

Threads Revisited

Starting an application creates a process. A process gets it share of resources (disk, memory, network, etc) from its host system. It also remains active until it gets a quit signal from the user or a fatal error during its run.

...End of Excerpt. Please purchase the magazine to read the full article.