CHAPTER 5 STORING AND RETRIEVING APPLICATION DATA (Web hosting services)
CHAPTER 5 STORING AND RETRIEVING APPLICATION DATA Working with Variables Variables are used to store and process individual pieces of data, such as values in an equation or the number of turns left in a game. Unlike constants, variables are meant to store data that changes during application execution. REALbasic variables are capable of working with many different types of data, such as text strings and different types of numbers. Table 5-1 provides a listing of the different data types that REALbasic supports. Table 5-1. REALbasic Data Types Category Data Type String CFString Stores a string reference (Mac only) CString A null-terminated string PString A Pascal string used on Macintosh with a limit of 255 characters String Text consisting of alphanumeric characters whose size is limited only by the amount of available memory WString A null-terminated string used on Windows NT Numeric Byte An integer between -128 and 127 Double A number that supports decimals between 2.2250738585072013 e-308 and 1.7976931348623157 e+308 Integer A whole number between -2,147,483,648 and 2,147,483,647 OSType A 4-byte integer used on Macintosh when declaring into QuickTime Short A 16-bit integer capable of storing values between -32,768 and 32,767 Single A number capable of storing a decimal that stores values between 1.175494E 38 and -3.402823E+38 Ubyte An 8-bit unsigned integer with a value between 0 and 255 UShort A 16-bit unsigned integer with a value between 0 and 65,535 WindowPtr A 4-byte integer used to store a link or pointer to a window Special Boolean An intrinsic data type of either True or False Color A set using RGB, HSV, CMY color models, or the &c literal Ptr A 4-byte link or pointer to a location in memory Variant A special data type that can be used to store data of any type
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.