Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Mumps > Re: Mumps varia...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 16 Topic 952 of 991
Post > Topic >>

Re: Mumps variables

by Duke Normandin <dukeofperl@[EMAIL PROTECTED] > Apr 17, 2008 at 03:50 AM

On 2008-04-17, Jeffrey Williams <jeff.williams3188@[EMAIL PROTECTED]
> wrote:
> The difference between a local array and a global array is the '^'.  A 
> global array is stored on disk - a local array is stored in memory.
>
> set a="test" write a,!   ;local array in memory
> set ^a="test" write ^a,!   ;global array on disk
>
> Duke Normandin wrote:
>> Kevin OKane in his Mumps tutorial/book states:
>>
>> "A Mumps variable name must begin with a letter (A through Z) or
percent
>> sign (%) and may be followed by either letters, the percent sign, or
>> numbers."
>>
>> However, in some of the examples that follow, e.g.:
>>
>> set ^a="test" write ^a,!
>>
>> The variable name starts with a "^". The example worked correctly with
>> Ray Newman's Mumps. I just need clarification as to exactly how a Mumps
>> var should be named. TIA...
>>   

Then how does one differentiate between a local and global variables;
and local and global variable arrays? I see that global arrays have the
^ prefix. Do global  (scalar) variables have the ^ prefix as well. If
yes, how can I tell what I'm dealing with -- a global variable or a
global array?
-- 
Duke Normandin
 




 16 Posts in Topic:
Mumps variables
Duke Normandin <dukeof  2008-04-17 00:24:34 
Re: Mumps variables
Jeffrey Williams <jeff  2008-04-17 02:23:45 
Re: Mumps variables
Duke Normandin <dukeof  2008-04-17 03:50:20 
Re: Mumps variables
"Maury Pepper"   2008-04-17 00:56:09 
Re: Mumps variables
Duke Normandin <dukeof  2008-04-18 02:31:53 
Re: Mumps variables
"Maury Pepper"   2008-04-17 23:12:26 
Re: Mumps variables
Duke Normandin <dukeof  2008-04-18 23:18:36 
Re: Mumps variables
"K.S. Bhaskar"   2008-04-17 08:34:29 
Re: Mumps variables
Rob Tweed <rtweed@[EMA  2008-04-17 09:18:46 
Re: Mumps variables
Duke Normandin <dukeof  2008-04-18 00:21:01 
Re: Mumps variables
Rob Tweed <rtweed@[EMA  2008-04-18 08:32:12 
Re: Mumps variables
=?ISO-8859-1?Q?S=E9bastie  2008-04-17 23:53:23 
Re: Mumps variables
Rob Tweed <rtweed@[EMA  2008-04-18 08:36:51 
Re: Mumps variables
=?ISO-8859-1?Q?S=E9bastie  2008-04-29 08:07:59 
Re: Mumps variables
Rob Tweed <rtweed@[EMA  2008-04-29 17:49:26 
Re: Mumps variables
=?ISO-8859-1?Q?S=E9bastie  2008-04-30 00:34:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:44:25 CDT 2008.