Share via


Glossary L

l-value

The value on the left side of an assignment statement that represents a storage region's memory location. The l-value is an expression that evaluates to a type other than void and designates a location in memory (a variable, array, or structure element, for example). See also r-value.

label

  1. In a C or C++ function body, a unique name followed by a colon (:). Labels can denote statements to which a goto statement can branch. In a switch statement, the labels preceded by the keyword case list values to be compared to the expression at the top of the switch statement. See also labeled statement.

  2. In user-interface design, application-defined text associated with a graphical element such as a button or check box.

  3. In OLE, text describing an object that is linked or embedded as an icon.

labeled statement

In C/C++, a statement preceded by a label. A labeled statement allows program control to be transferred to it from a goto statement or back to the top of a switch statement.

language identifier (ID)

A 16-bit value that identifies a language and, where appropriate, the variant of the language being used. A language identifier is a combination of a sublanguage identifier and a primary language identifier. For example, if the primary language identifier specifies English, the sublanguage identifier might specify Australian English. See also locale identifier (LCID).

LCID

A 32-bit value identifying the language and sublanguage for a locale. The locale identifier is used to customize string handling. See also code page, language identifier (ID).

lead byte

In double-byte character sets and multibyte character sets, the first byte of a two-byte character. The lead byte signals that both it and the following byte are to be interpreted as a single character. See also trail byte.

left outer join

A database term that describes the relationship between two tables on which a query is run. If two tables are connected with a left outer join, the resulting recordset contains all records from the table on the left but only those records from the table on the right where the joined fields are equal. See also right outer join.

lexical analyzer

Or lexer. The part of a compiler, interpreter, or other translator that parses character sequences (separated by white space) in the source code into individual tokens. See also parser.

library assert

A macro that identifies program errors during development. The argument given to ASSERT should be chosen so that it holds true only if the program is operating as intended.

library file

A Common Object File Format (COFF) file generated by the Microsoft 32-bit library manager tool, LIB, for standard and import libraries. The default filename extension for these files is .LIB. See also dynamic-link library file, static-link library.

library version

  1. One of the available configurations of a library. For example, a library might have a static version and a dynamic-link version, both of which are available as debug and release versions. The library version used during linking is usually determined by the project type and settings.

  2. One of the publicly released versions of a library — for example, Microsoft Foundation Class Library version 4.0.

licensing

A COM feature that provides control over object creation. Licensed objects can be created only by clients that are authorized to use them. Licensing may afford different levels of functionality depending on the type of license.

lifetime

The time during program execution that a variable, function, object, or session exists and is available for use, or the duration of the program itself.

Lightweight Remote Procedure Call

In OLE, a protocol for interprocess communication on a single machine. See also Remote Procedure Call (RPC).

line counting

A run-time analysis of a program in which the profiler reports how many times each line of source code was executed. See also function counting, line coverage, line profiling.

line coverage

A run-time analysis of a program in which the profiler reports which lines of source code were executed at least once. See also function coverage, line counting, line profiling.

line profiling

A run-time analysis of a program in which the profiler reports information about the execution of the lines of source code, including line counting and line coverage. Line profiling is useful for checking the validity of an algorithm. See also function profiling.

line-continuation character

The backslash character (\) when it is placed at the end of a line. The line-continuation character causes the compiler to ignore the following newline character and to treat the next line as a continuation of the current line.

linefeed character

A control character that advances a printer or insertion point to a new line. This character can have a different textual representation on different platforms, but it always has the ASCII value of 10. See also carriage return–linefeed (CR-LF) pair.

  1. The Microsoft 32-Bit Incremental Linker (LINK.EXE). See also linker.

  2. To combine object files and libraries to form an executable file or dynamic-link library.

  3. In OLE, a connection between two documents. A link has three properties: the name of its source data, its type (or class, as it is known internally), and its updating basis (either automatic or manual). Also, as a verb, it means to connect two documents with a link.

A COM object that is created when a linked COM object is created or loaded. The link object is provided by Automation. See also linked object, link source.

The object serving the data that is the source of a linked object. A link source may be a file or a portion of a file, such as a selected range of cells within a file (also called a pseudo-object).

The period of time required by the linker to combine (link) object files and libraries during compilation of a program, or the point in time when these files are combined. See also linker.

linkage specification

The protocol for linking functions (or procedures) written in different languages. Function calling conventions are affected by the linkage specification selected. An example of a linkage specification is extern "C". See also external linkage, internal linkage.

linked item

Or linked object. In OLE, an item in a compound document whose data is stored in a separate file rather than in the document's file. A linked item must be edited in a separate window. See also embedded item.

linked list

In programming, a data structure consisting of nodes or elements connected by pointers. A singly linked list has one pointer in each node, pointing to the next node in the list; a doubly linked list has two pointers in each node, pointing to the next and previous nodes. In a circular list, the first and last nodes of the list are linked together.

linked object

A COM object whose source data physically resides where it was initially created. Only a moniker that represents the source data and the appropriate presentation data are kept with the compound document. Changes made to the link source are automatically reflected in the linked object. See also link source.

linker

A utility that combines object files and libraries to create an executable file or dynamic-link library. During the linking process, the linker resolves external references such as a call to a library routine by the program.

linking and embedding

Two methods available in OLE for storing items inside a compound document when those items were created in another application. An embedded item is stored as part of the compound document that contains it. A linked item stores its data in a separate file. See also Object Linking and Embedding (OLE).

list view control

A Windows Common Control that displays a collection of items each consisting of an icon and a label.

list-box control

In Windows, a child window that contains a list of items that can be selected by the user. List boxes can permit the selection of one item or multiple items. See also combo-box control.

listserv

An Internet application that automatically "serves" mailing lists by sending electronic newsletters to a stored database of Internet user addresses. Although some listservs are moderated, users can often handle their own subscribe/unsubscribe actions without requiring anyone at the server location to personally handle the transaction.

literal

A value, used in a program statement, that is expressed directly rather than as a named constant or the contents of a variable. For example, in the statements

i = 25;
c = 'a';
cout << "Hello";

the values 25, 'a', and "Hello" are literals. See also manifest constant, string literal.

little-endian

One of two byte-ordering conventions used on different machines. In little-endian addressing, the address points to the least significant byte of the word. Intel 80x86 and DEC RISC computers are little-endian machines. See also big-endian.

load time

The period of time required to place a program's executable files into memory prior to execution, or the point in time when the files are loaded.

loaded state

In OLE, the status of a compound-document object (either a linked or embedded item) whose handler is loaded in memory but whose server is not running. See also running state.

local

  1. In programming, describes an object, memory location, or variable whose scope or lifetime is limited.

  2. A Microsoft Windows NT keyword that identifies the local attribute, which can be applied to individual functions or to the interface as a whole.

  3. In distributed systems, descibes an operation that is performed by the current application rather than by another application on the same computer or on a remote computer.

  4. In networking, describes a device that can be accessed directly rather than by means of a communications line.

  5. In general, an adjective describing an item or operation that is close at hand or restricted to a particular area.

local class

  1. A class declared inside a block.

  2. Or application local class. In Windows, any window class that an application registers for its exclusive use. Although an application can register any number of local classes, most applications register only one. This window class supports the window procedure of the application's main window. Windows destroys a local class when the application that registered it closes.

local machine

Or local computer. A computer that is accessed directly by the user rather than through an intermediate computer using a communications device. The opposite of a remote machine.

local object

  1. In C++, an object created inside a function or smaller enclosing block. A local object has scope only within the block in which it is created.

  2. In OLE, an object (that is not an embedded object) inside a container. Sometimes referred to as a cross-process object.

local remote procedure call

In RPC, a remote procedure call to another process on the same computer as the calling process.

local scope

In C++, the degree of visibility afforded to a name (a variable, for example) when it is declared within a block of code. The name is accessible only from the point of declaration to the end of the block in which it is declared. See also class scope, file scope, function scope, function-prototype scope.

local server

An OLE server object implemented as an executable file that runs on the same computer as the client application. Because the server application is an executable file, it runs in its own process. See also in-process server, remote server.

local variable

Or automatic variable. A variable declared within a function body, or smaller enclosing block, and not declared as static, that exists only within the scope of the enclosing curly braces ({ }). If a local variable has an initializer, it is initialized every time it is created and its contents are undefined when the function returns.

locale

The national and cultural environment in which a system or program is running. The locale determines the language used for messages and menus, the sorting order of strings, the keyboard layout, and date and time formatting conventions. See also code page, locale identifier (LCID).

locale identifier

A 32-bit value identifying the language and sublanguage for a locale. The locale identifier is used to customize string handling. See also code page, language identifier (ID).

locale-specific

Behavior that depends on local conventions of nationality, culture, and language, such as language, money format, and date format.

localization

The process of translating software, Help, and online or printed documentation into another language appropriate for other locales, customs, or cultures.

lock

In COM and OLE, a pointer held to, and possibly a reference count incremented on, a running object. Two types of locks can be held on an object: strong and weak. To implement a strong lock, a server must maintain both a pointer and a reference count so that the object will remain "locked" in memory at least until the server releases it. To implement a weak lock, the server maintains only a pointer to the object so that the object can be destroyed by another process.

locking mode

A strategy for locking records in a recordset during update. A record is locked when it is read-only to all users but the one currently entering data in it. See also optimistic locking, pessimistic locking.

logical brush

An ideal description of a brush bitmap. A logical brush describes all the attributes (style, color, and so on) specified by the application that created it, although some may not be representable on available output devices. Windows also provides seven predefined logical stock brushes. See also brush, physical brush.

logical color palette

An array of colors created by an application that can be selected into a device context and used for graphics output. A logical color is an individual color in the PALETTE array. An application using a logical color palette can pass a COLORREF value, instead of an explicit red, green, blue (RGB) value, to GDI functions that expect a color. See also color palette, device context (DC).

logical coordinate system

A conceptual coordinate system that a program uses when giving drawing commands. Windows converts logical coordinates to the output device's physical coordinates when it renders the image.

logical font

An ideal description of a font. The font itself is described by the attributes (height, width, orientation, and so on) defined for it by an application. Windows also provides six predefined logical stock fonts. Before an application can begin drawing text with a logical font, it must find the closest match from among the physical fonts stored on the device or in the operating system. See also font mapper, physical font.

logical operator

An operator that performs Boolean evaluations on its operands. The logical-NOT (!) operator produces the value 0 if its operand is true (nonzero) and the value 1 if its operand is false (0). The logical-AND (&&) operator produces the value 1 if both operands have nonzero values; otherwise, it produces the value 0. The logical-OR (||) operator produces the value 1 if either of its operands has a nonzero value. See also bitwise operator.

logical shift

Or bitwise shift. A bitwise operation wherein the bits in the first operand are shifted by the number of positions specified by the second operand. The operator specifies the direction the bits are shifted. See also arithmetic shift.

logical unit

A conceptual unit of measure for graphics device interface (GDI) functions. A logical unit is converted to a device, or physical, unit (for example, to a number of pixels or to a distance in inches) when an image is rendered on the output device. By default, GDI considers logical units to be equal to device units, meaning that 1 logical unit equals 1 pixel on the screen.

logical view

A view expressed in terms of logical coordinates. A logical view can change its scaling when it is rendered onto an output device such as a display monitor.

lookup table

A reference table that maps an index or key to a value to be looked up and returned. A lookup table is often used as an alternative to lengthy run-time calculations.

loop

  1. A set of statements in a program executed repeatedly, either a fixed number of times or until a condition is true or false.

  2. In an event-driven state machine, an action that returns control to the original state, either directly or through a series of state transitions.

loss of significance

In programming, a potential error caused by presenting an argument to a math function that is either so large or so small that the operation returns a value that has lost most or all of the significant digits of the original argument. See also underflow.

low order

A description applied to the rightmost element in a group — the one that carries the least weight or significance. For example, the low-order bit in a byte would be the rightmost one.

LRPC

In OLE, a protocol for interprocess communication on a single machine. See also Remote Procedure Call (RPC).

LRPC

In RPC, a remote procedure call to another process on the same machine as the calling process.

luminance

In graphics, the perceived brightness of a surface or pixel. Luminance often refers to as a weighted average of red, green, and blue color values that gives the perceived brightness of the combination. See also red, green, blue (RGB); red, green, blue, alpha (RGBA).