View Single Post
  #4 (permalink)  
Old 31st October, 2007, 09:27 AM
Gizmo's Avatar
Gizmo Gizmo is offline
Chief BBS Administrator
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 15,160
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Ah, ok, now I think I see the source of your question.

For what you are doing, the way you've written the code is PROBABLY ok.

As a matter of style, if it were me, I'd probably alter the code and make the translation function part of its own class, and make those 'global' variables you are using properties of that class with an accessor function for the purpose of reading the variables. Unfortunately, this would entail a significant rewrite of the code.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Reply With Quote