Tuesday, May 18, 2010 Tip of the Day: R:BASE eXtreme 9.0 32 or 64?
Supported Versions: R:BASE eXtreme 9.0 (32) Supported Versions: R:BASE eXtreme 9.0 (64) Supported Builds..: 9.0.1.10511 or higher R:BASE Updates: http://www.rupdates.com Designing and deploying version specific applications that include naming conventions for short (18 character) vs. long (128 character) table, view, column, index, SP, form, label, report, and variable names can be tricky at times to differentiate the deployed versions of R:BASE eXtreme 9.0 (32/64). This is not relevant nor an issue if you are still using the 18 characters naming conventions even in R:BASE eXtreme 9.0 (64). I certainly don't use 18 character naming convention in my vertical market as well as recently deployed government applications running as LAN, WAN, Terminal Server, Web, and Custom Client/Server (R:CCS) versions of R:BASE eXtreme 9.0 (64). So, if you decide to step-up your programming techniques and take advantage of 128 Characters naming convention in R:BASE eXtreme 9.0 (64), while maintaining the similar code for your R:BASE 9.0 (32) applications, you may need a method to differentiate the currently running version of R:BASE so that you can use the appropriate form names, etc. Here is a dynamic CVAL function trick that you can use to find the currently running or compiled version of your R:BASE eXtreme 9.0 (32/64). -- Example 01: IF (SGET(CVAL('VERSION'),2,21)) = '64' THEN SET NAMEWIDTH 40 -- additional R:BASE eXtreme 9.0 (64) specific code here ... EDIT USING MyNewMainMenuForPublicUsers ELSE -- additional R:BASE eXtreme 9.0 (32) specific code here ... EDIT USING MainMenuPublicUsrs ENDIF -- Example 02: IF (SGET(CVAL('VERSION'),2,21)) = '32' THEN -- additional R:BASE eXtreme 9.0 (32) specific code here ... EDIT USING MainMenuPublicUsrs ELSE SET NAMEWIDTH 40 -- additional R:BASE eXtreme 9.0 (64) specific code here ... EDIT USING MyNewMainMenuForPublicUsers ENDIF This should give you an idea of how to implement such techniques in your own applications. Have fun! Very Best R:egards, Razzak.

