* localX var's
@ 2003-05-20 14:50 Mark Santcroos
0 siblings, 0 replies; 2+ messages in thread
From: Mark Santcroos @ 2003-05-20 14:50 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
What's the diff between a "normal" variable and a LocalX variable?
I can see that they can't be referenced until they are initialized, so
there is at least one difference. :-)
Are they maybe "static" in their scope? (As in the C meaning of static)
Thanks
Mark
--
Mark Santcroos RIPE Network Coordination Centre
http://www.ripe.net/home/mark/ New Projects Group/TTM
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: localX var's
@ 2003-05-20 16:46 Grover, Andrew
0 siblings, 0 replies; 2+ messages in thread
From: Grover, Andrew @ 2003-05-20 16:46 UTC (permalink / raw)
To: Mark Santcroos, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> From: Mark Santcroos [mailto:marks-h3GR0owD+wQ@public.gmane.org]
> What's the diff between a "normal" variable and a LocalX variable?
>
> I can see that they can't be referenced until they are initialized, so
> there is at least one difference. :-)
>
> Are they maybe "static" in their scope? (As in the C meaning
> of static)
>From the spec:
"Up to 8 local objects can be referenced in a control method. On entry
to a control method, these objects are
uninitialized and cannot be used until some value or reference is stored
into the object. Once initialized,
these objects are preserved in the scope of execution for that control
method."
They're temporary scratch data objects, like C variables declared in
function scope, not like static C vars.
Regards -- Andy
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-20 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-20 14:50 localX var's Mark Santcroos
-- strict thread matches above, loose matches on Subject: below --
2003-05-20 16:46 Grover, Andrew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox