What is a 'scalar' value?

M

Marc Twain

Saw that term the other day and wondered if it refered to primitive types?

TIA,

AJ.
 
J

Joona I Palaste

Marc Twain said:
Saw that term the other day and wondered if it refered to primitive types?

Basically, a scalar is anything that is just one value and does not
represent an array or a data structure.

--
/-- Joona Palaste ([email protected]) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"A bee could, in effect, gather its junk. Llamas (no poor quadripeds) tune
and vow excitedly zooming."
- JIPsoft
 
J

Jeen Broekstra

Marc said:
Saw that term the other day and wondered if it refered to
primitive types?

Yes, the value of a primitive type is a scalar value. The term
scalar refers to the fact that the value is representable as a
point on a scale.

Jeen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top