S

.SBR:The extension for a file used by BSCMAKE to create a .BSC file.

scope:The parts of a program in which a given symbol has meaning. The scope of an item may be limited to the file, function, block, or function prototype in which it appears.

screen exchange:The method by which both the output screen and the debugging screen are kept in memory so that both can be updated simultaneously and either viewed at the user's convenience. The two screen-exchange modes are flipping and swapping. See also “flipping” and “swapping.”

scroll:To move text up, down, left, and right in order to see parts that cannot fit on the screen.

segment:A section of memory containing code or data, limited to 64K for 16-bit segments or 4 gigabytes for 32-bit segments. Also refers to the starting address of that memory area.

segmented executable file:The executable file format of a Windows application or DLL. A segmented executable file contains a DOS header, a new .EXE header, and multiple relocatable segments.

semaphore:A software flag or signal used to coordinate the activities of two or more threads. A semaphore is commonly used to protect a critical section.

shell:To gain access to the operating-system command line without actually leaving the PWB or CodeView environment or losing the current context. You can execute operating-system commands and then return to the environment.

single precision:A real (floating-point) value that occupies four bytes of memory. Single-precision values are accurate to six or seven decimal places.

small memory model:A program with one code segment and one data segment.

SMARTDRV.SYS:A driver that creates a disk cache in extended or expanded memory.

source file:A text file containing the high-level description that defines a program.

Source mode:The mode in which CodeView displays the source code that corresponds to the machine code being executed.

stack:A dynamically expanding and shrinking area of memory in which data items are stored in consecutive order and removed on a last-in, first-out basis. The stack is most commonly used to store information for function and procedure calls and for local variables.

stack frame:A portion of a program's stack that contains a routine's local and temporary variables, arguments, and control information.

stack trace:A symbolic representation of the functions that have been executed to reach the current instruction address. As a function is executed, the function address and any function arguments are pushed on the stack. A trace of the stack shows the currently active functions and the values of their arguments. See also “stack frame.”

standard error:The device to which a program sends error messages. COMMAND.COM opens standard error with a file handle named stderr. The default device is the display (CON). Standard error cannot be redirected.

standard input:The device from which a program reads input. COMMAND.COM opens standard input with a file handle named stdin. The default device is the keyboard (CON). Standard input can be redirected using a redirection symbol (<).

standard library:A library created by LIB that contains compiled routines and data. It is used to resolve references at link time.

standard mode:The normal Windows 3.0 operating mode that runs on the 80286–80486 processors. This and 386 enhanced mode are both referred to as protected mode in Windows and offer more capability than Windows real mode.

standard output:The device to which a program sends output. COMMAND.COM opens standard output with a file handle named stdout. The default device is the display (CON). Standard output can be redirected using a redirection symbol.

startup code:The code placed at the beginning of a program to control execution of the program code. When CodeView is loaded, the first source line executed runs the entire startup code. If you switch to Assembly mode before executing any code, you can trace through the startup code. See also “exit code.”

static library:A library used for resolving references at link time. A static library can be either a standard library or an import library. See also “standard library” and “import library.”

static linking:The combining of multiple object and library files into a single executable file with all external references resolved at link time.

status bar:The bar at the bottom of the CodeView or PWB display containing status information and command buttons or a short description of the dialog or menu item currently displayed.

stderr:See “standard error.”

stdin:See “standard input.”

stdout:See “standard output.”

string:A contiguous sequence of characters, often identified by a symbolic name as a constant or variable.

structure:A set of elements which may be of different types, grouped under a single name. See also “user-defined type.”

structure member:One of the elements of a structure.

stub file:A DOS executable file added to the beginning of a segmented executable file. The stub is invoked if the file is executed under DOS.

subroutine:A unit of FORTRAN code terminated by the RETURN statement. Program control is transferred to a subroutine with a CALL statement.

swapping:A screen-exchange method that uses buffers to store the CodeView display and program output screens. When you request the other screen, the two buffers are exchanged. See also “flipping” and “screen exchange.”

symbol:See “identifier.”

symbolic debugging information:See “debugging information.”

.SYS:The extension for a system file or device driver.

SYSTEM:An environment variable used by the DOS Extender to find the files MS32EM87.DLL and MS32KRNL.DLL.