parameter
1 ResultsDictionary
parameter
(1) Any value passed to a program by the user or by another program in order to customize the program for a particular purpose. A parameter may be anything; for example, a file name, a...
Dictionary
Definition: parameter
(1) Any value passed to a program by the user or by another program in order to customize the program for a particular purpose. A parameter may be anything; for example, a file name, a coordinate, a range of values, a money amount or a code of some kind. Parameters may be required as in parameter-driven software (see below) or they may be optional. Parameters are often entered as a series of values following the program name when the program is loaded; for example, a DOS switch defines a parameter. In the command dir /p the /p is a parameter switch that means pause after every screenful.
(2) In programming, a value passed to a subroutine or function for processing. Programming today's graphical applications in languages such as C, C++ and Java requires knowledge of hundreds of parameters.
In the following C function, which creates the text window for the Windows version of this database, there are 11 parameters passed to the CreateWindow routine. Some of them call yet other functions for necessary information. In order to call this routine in a program, the programmer must determine the values for every parameter.
hWndText = CreateWindow
(
"TextWClass",
NULL,
WS_CHILD|WS_BORDER|WS_VSCROLL|WS_TABSTOP,
xChar*23+GetSystemMetrics(SM_CXVSCROLL)+8,
yChar*4,
Rect.right-Rect.left+1-xChar*23
-2*GetSystemMetrics(SM_CXVSCROLL)+5,
yChar*(Lines+1)+2,
hWnd,
IDC_TEXTLIST,
(HANDLE)hInstance,
NULL
);
THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2010 The Computer Language Company Inc. All rights reserved.
Sponsored White Papers, Webcasts & Resources
-
Automating Infrastructure and Operations Management with VMware
With VMware, virtualization tools come with a management system built in. Check out this webcast to learn more.
-
Browser-based spelling autocorrection described in Microsoft Patent app
Technology described in a newly published Microsoft Patent application would enable automated spell-checking of text entered by the user in a networked Web browser. The way I read this Patent's...
Additional Results
-
Browser-based spelling autocorrection described in Microsoft Patent app
Technology described in a newly published Microsoft Patent application would enable automated spell-checking of text entered by the user in a networked Web browser. The way I read this Patent's...
-
Managing VoIP and IP Telephony
IP telephony is finally experiencing an inflection in its growth among large organizations. Intense attention is being directed toward the technology itself, but many risk their services by...
The best of ZDNet, delivered
ZDNet Newsletters
Get the best of ZDNet delivered straight to your inbox




