dbTalk Databases Forums  

Named Common is great.

comp.databases.pick comp.databases.pick


Discuss Named Common is great. in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Preece
 
Posts: n/a

Default Named Common is great. - 08-28-2006 , 11:59 PM






All this confusion over Named Common blocks and LOGTOs is driving me
nuts. It really is very simple guys!

Unnamed common, as we all know, "belongs" to the currently running
Basic program and any lower-level subroutines called. There is only one
unnamed common block. Call a subroutine that has a different unnamed
common block and you're likely to have problems. You can do it, but you
had better be aware that each variable in the common block maps
according to position. For instance, if you have an unnamed common
block of just a single variable called MyCommonVariable and you call a
subroutine which has a single common variable called
TheOtherCommonVariable, they both, in fact, map to the same variable -
common to both.

I have no difficulty grasping that we also have "higher power" named
common blocks available to us, shared by *all* Basic processes, that
persist from login to logoff. <- That's a period folks.

Mike.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.