Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Tally and other 'global' variables
Message
From
23/09/1998 01:44:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00139598
Message ID:
00139708
Views:
46
Sam ----

As far as system globals are concerned, consider them constants as opposed to variables and use away :)


>What is the general concensus about using the global variables such as _tally.
>
>select * from sometable into cursor somecursor
>...
>if _tally>0
>
>verses
>
>select * from sometable into cursor somecursor
>...
>if reccount("somecursor")>0
>
>
>and other constructions. I can see using _screen as it is the only way to manipulate the fox window, but what of the others? Seems to me that if there is an 'encapsulated' way of doing things, than it should be done that way.
>
>Just curious about other opinions.
>Thanks
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform