|
| |
| | Subroutine - Wikipedia, the free encyclopedia |
 | | In computer science, a subroutine (function, procedure, or subprogram) is a sequence of code which performs a specific task, as part of a larger program, and is grouped as one or more statement blocks; such code is sometimes collected into software libraries. |  | | Event handler, or simply "handler," is a subprogram that is called in response to an "event", such as a computer user moving the mouse or typing on the keyboard. |  | | Closure is a subprogram together with the values of some of its variables captured from the environment in which it was created. |
|
http://en.wikipedia.org/wiki/Subprogram
|
|
| |
| | [No title] |
 | | Subprograms Subprograms are one of the four forms of program unit, of which programs can be composed. |  | | The parameter associations of a subprogram call are evaluated in some order that is not defined by the language. |  | | The sequence of characters of the operator symbol must be either a logical, a relational, a binary adding, a unary adding, a multiplying, or a highest precedence operator (see 4.5). |
|
http://www.csci.csusb.edu/dick/cs320/ada/lrm/06.subprograms
|
|
| |
| | Subprogram Linkage |
 | | A subprogram is a sequence of instructions whose execution is invoked from one or more remote locations in a program, with the expectation that when the subprogram execution is complete, execution resumes at the instruction after the one that invoked the subprogram. |  | | In machine or assembly language, it is essential to have the return branch at the end of the subprogram code. |  | | The choice of a protocol for a subprogram depends on the overall size of the program and the complexity of subprogram nesting. |
|
http://www.d.umn.edu/~gshute/cs2521/asm/linkage.html
|
|
| |
| | 5.5.1.2 Subprogram coupling |
 | | The first possible reason is that the subprogram is performing some very simple and straightforward operation which is fundamental to the software's specification. |  | | In this case the subprogram is being used almost as an extension to the standard package facilities, or even the programming language facilities. |  | | The solution to this problem is to divide the original subprogram into two or more separate subprograms each of which perform only a part of the specification of the original subprogram. |
|
http://www.scism.sbu.ac.uk/law/Section5/chap5/s5c5p12.html
|
|
| |
| | [No title] |
 | | A subprogram with parameter access to the data it is to process is a parameterized computation. |  | | Subprograms cannot be history sensitive “can’t retain data values of local vars between calls.” Advantages of using static vars: a. |  | | The two fundamental types of the subprograms are: Procedures Functions A subprogram header is the first line of the definition, serves several definitions: It specifies that the following syntactic unit is a subprogram definition of some particular kind. |
|
http://www.selu.edu/Academics/Depts/Cmps/galkadi/401/notes/chapter9.doc
|
|
| |
| | SUB(stmt) |
 | | A subprogram is available between modules and may not be defined more than once in the same program. |  | | In general, the statements that may appear in a subprogram are the same as those allowed in the body of the program with the following notable exceptions. |  | | When the subprogram is referenced by a call statement, the arguments are evaluated (if necessary) and passed to the subprogram. |
|
http://www.leinweb.com/basic/manual/man1/sub.stmt.htm
|
|
| |
| | AARM95 - Remote Subprogram Calls |
 | | Whether the execution of the remote subprogram is immediately aborted as a result of the cancellation is implementation defined. |  | | If the actual subprogram body propagates an exception, it is propagated by the RPC-receiver to the PCS, which handles the exception, and indicates in the reply message that the execution of the subprogram body propagated an exception. |  | | {8652/0086} With respect to shared variables in shared passive library units, the execution of the corresponding subprogram body of a synchronous remote procedure call is considered to be part of the execution of the calling task. |
|
http://www.ada-deutschland.de/AdaTourCD2004/dokumente/AARMHTM/AA-E-4.html
|
|
| |
| | 15 FUNCTIONS AND SUBROUTINES |
 | | An entry name in an ENTRY statement in a function subprogram identifies an external function within the executable program and may be referenced as an external function (15.5.2). |  | | An entry name in an ENTRY statement in a subroutine subprogram identifies a subroutine within the executable program and may be referenced as a subroutine (15.6.2). |  | | In a subprogram that has declared a named common block, the entities in the block remain defined after the execution of a RETURN or END statement if a common block of the same name has been declared in any program unit that is currently referencing the subprogram, either directly or indirectly. |
|
http://www.fortran.com/fortran/F77_std/rjcnf0001-sh-15.html
|
|
| |
| | Basic Lesson 9 |
 | | Then the subprogram "shares" the value of Z with the main program - that is, before it terminates it informs the main program of the value of Z. A second way of informing the main program of the sum is to leave the subprogram alone, but insert a COMMON SHARED statement into the main program. |  | | In this window already appears the name of the subprogram and the final END SUB statement, and in between you are to type the body of the subprogram. |  | | If the main program or any subprogram assigns or changes X or Z, the main program and all subprograms will be sure to know about it. |
|
http://www.math.hawaii.edu/~hile/basic/basic9.htm
|
|
| |
| | [No title] |
 | | The subprogram leader collates, summarises and identifies research and development priorities on a state-by-state basis and on a national level. |  | | One of the major roles of the subprogram leader is to ensure that outputs from individual projects are developed and extended according to industry requirements. |  | | Facilitation of research uptake: The subprogram directs researchers to extend their results in various formats, depending on the project outcomes and industry needs. |
|
http://www.frdc.com.au/research/programs/aas/about/opprocedures.htm
|
|
| |
| | RFC120 |
 | | The subprogram waits for the data to be received by the foreign socket, or to be queued locally by the NCP. |  | | RFC 120 NETWORK PL1 SUBPROGRAMS header(s) received total more data than 'len', the excess data will be received, but will not be placed into 'bfr', and will not be accessible to the program. |  | | In general, the subprograms will initiate the operation, and enter the WAIT state (consume no CPU time) until notified by the NCP of the completion of the operation. |
|
http://rfc.net/rfc0120.html
|
|
| |
| | 1.3.2 Object diagrams, data flow diagrams, subprogram declarations and package specifications |
 | | The processes of transforming a data flow interface diagram into a subprogram declaration, or vice versa, is amongst the most mechanical and thus easiest activities involved in software development. |  | | A data flow interface diagram is then useful for the detailed design of the data flow required by each subprogram. |  | | The subprogram interface diagrams describe what data flow interface a subprogram has. |
|
http://www.scism.sbu.ac.uk/law/Section1/chap3/s1c3p2.html
|
|
| |
| | [No title] |
 | | For example, E.2.3(7) would *not* define such a library subprogram to be a remote subprogram, since the subprogram is not declared "in the visible part of...". |  | | According to AI95-00048/3, Respond_To_Event cannot be a short standalone main subprogram after all; I have to enclose it in a package. |  | | Furthermore, if the remote call interface pragma is applied to a library level subprogram, then it would seem a further issue is raised as to why the All_Calls_Remote pragma cannot be applied to a library level subprogram. |
|
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00048.TXT?rev=1.4
|
|
| |
| | DS9 Encyclopedia & Lexicon - People and Things on DS9 |
 | | A subprogram in the DS9 computer, created by O'Brien to house a nonsentient entity that came to the station when data was downloaded from a probe from the Gamma Quadrant. |  | | The entity fed off the energy of an active computer, and caused stationwide malfunctions until O'Brien gave it a place to interact with the computer without interfering with it. |
|
http://ds9encyclopedia.0catch.com/ds9.htm
|
|
| |
| | [No title] |
 | | However, how main subprograms are designated is implementation-defined; implementations are not required to be able to use any view of a parameterless child procedure as a main subprogram. |  | | Since the usual case is to have a main subprogram, a -no-main switch might make sense, but the RM has nothing to say about that. |  | | I added the part about the subprogram within a package so that the AI didn't create more confusion than it eliminated, because it does answer the original question as worded. |
|
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00172.TXT?rev=1.3
|
|
| |
| | 16 BLOCK DATA SUBPROGRAM |
 | | A block data subprogram is a program unit that has a BLOCK DATA statement as its first statement. |  | | Block data subprograms are used to provide initial values for variables and array elements in named common blocks. |  | | There must not be more than one unnamed block data subprogram in an executable program. |
|
http://www.fortran.com/F77_std/rjcnf-16.html
|
|
| |
| | CmSc315 Chapter 06 |
 | | Some problems in attempting to describe precisely the function computed by a subprogram: |  | | It is a static property of the program, and it is the only information available during translation. |  | | they do not need to be copied for each execution of the subprogram. |
|
http://www.simpson.edu/~sinapova/cmsc315/LN315_Pratt/L06-Encapsulation.htm
|
|
| |
| | [No title] |
 | | A formal subprogram is matched by an attribute of a type if the attribute is a function with a matching specification. |  | | An expression can match a formal object of mode in; a variable name can match a formal object of mode in out; a subprogram name or an entry name can match a formal subprogram; a type mark can match a formal type. |  | | In all of the above cases (a) through (f), each operation implicitly associated with a formal type (that is, other than an operation specified by a formal subprogram) is implicitly declared at the place of the declaration of the formal type. |
|
http://www.csci.csusb.edu/dick/cs320/ada/lrm/12.generics
|
|
| |
| | Input and Output (I/O) in 8086 Assembly Language |
 | | A subprogram allows us to give a name to a group of instructions and to use that name when we wish to execute those instructions, instead of having to write the instructions again. |  | | It is important to note that subprograms make our programs easier to read, write and maintain even if we only use them once in a program. |  | | The end of a string may be found by either knowing in advance the length of the string or by storing a special character at the end of the string which acts as a sentinel. |
|
http://www.cs.ucd.ie/staff/jcarthy/home/alp/alp2-3.html
|
|
| |
| | The Fisheries Research and Development Corporation (FRDC) Aquatic Animal Health Subprogram |
 | | The development of the subprogram was an initiative of AQUAPLAN (Australias National Strategic Plan for Aquatic Animal Health) under Program 6: Research and Development. |  | | Through an agreement between DAFF and the FRDC it is assured that the subprogram will continue through to 2008. |  | | The subprogram is responsible for coordinating research projects funded under the following 2 separate components: |
|
http://www.frdc.com.au/research/programs/aah
|
|
| |
| | 1.3.1.2 ADA.TEXT_IO subprogram data flow interface diagrams |
 | | The data flow may be labelled with either the name of the object being passed to the subprogram or its type, depending upon which makes the most sense. |  | | More detailed information concerning the ADA.TEXT_IO subprograms can be provided by subprogram data flow interface diagrams, more conveniently known simply as data flow diagrams. |  | | In this explanation it indicates that the character output will not be followed by a so that subsequent output will appear on the same line. |
|
http://www.scism.sbu.ac.uk/law/Section1/chap3/s1c3p12.html
|
|
| |
| | Learn more about Function in the online encyclopedia. |
 | | In computer science, a function is a subprogram or subroutine, commonly one intended to directly return a value to its caller. |  | | In computer science, the datatypes of the arguments and return values specify the domain and codomain (respectively) of a subprogram. |  | | Beware that sometimes the codomain is wrongly called the range because of a failure to distinguish between possible and actual values. |
|
http://www.onlineencyclopedia.org/f/fu/function.html
|
|
| |
| | DocGen/FTN |
 | | The design's Software Configuration structure is documented in the FDADL subprogram structure file, DESIGN.PU. |  | | The dynamic nature of the design is determined by analyzing the pseudo-code and the actual executable code (if any) to determine the invocation structure of the design. |  | | The Software structure as determined by the FDADL processor is documented in the Subprogram Structure file (we will call it DESIGN.PU in this User's Manual); which is automatically created by the FDADL processor. |
|
http://www.scitools.com/manuals/old/docgen_fortran/DOCGEN~6.htm
|
|
| |
| | [No title] |
 | | Implementing “Simple” Subprograms Simple means that subprograms cannot be nested and all local vars are static. |  | | An activation record instance is a concrete example of an activation record (the collection of data for a particular subprogram activation) B/c languages with simple subprograms do not support recursion; there can be only one active version of a given subprogram at a time. |  | | Implementing Subprograms with Stack-Dynamic Local Variables One of the most important advantages of stack-dynamic local vars is support for recursion. |
|
http://www.selu.edu/Academics/Depts/Cmps/galkadi/401/notes/chapter10.doc
|
|
| |
| | Ada95 Lovelace Tutorial Section 4.3 - Subprogram Bodies and Local Variables |
 | | A subprogram body defines the actual algorithm used by the subprogram. |  | | Here's a simple subprogram body that implements the procedure Average we declared in the last section. |  | | A subprogram body starts out with a subprogram specification (which is the subprogram declaration without the final semicolon) followed by the keyword "is". |
|
http://www.dwheeler.com/lovelace/s4sf.htm
|
|
| |
| | "Haus der Zukunft" - Information in English |
 | | The subprogram's goal is the development and market diffusion of components, prefabricated building parts and building methods which correspond to the above criteria and to the main principles of sustainable development. |  | | In subsequent calls for tenders, demonstration buildings will be set up and evaluated, although concept-led technology and component development will continue. |  | | The current call for tenders concentrates on the first three elements of the subprogram, and considers especially the projects that have already been financed or supported by the programme. |
|
http://www.hausderzukunft.at/english.htm
|
|
| |
| | [No title] |
 | | Obtained through parameters non-local references Results - data object or values delivered by the subprogram. |  | | An actual parameter is a data object that is shared with the caller subprogram. |  | | a local data object belonging to the caller, a formal parameter of the caller, a non-local data object visible to the caller, a result returned by a function invoked by the caller and immediately transmitted to the called subprogram. |
|
http://www.simpson.edu/~sinapova/cmsc315/LN315_Pratt/PPT/Chapter9B.ppt
|
|
| |
| | Energy Citations Database (ECD) - Energy and Energy-Related Bibliographic Citations |
 | | Availability information may be found in the Availability, Publisher, Research Organization, Resource Relation and/or Author (affiliation information) fields and/or via the "Full-text Availability" link. |  | | Energy Citations Database (ECD) Document #7080528 - Western Gas Sands Subprogram |
|
http://www.osti.gov/energycitations/product.biblio.jsp?osti_id=7080528
|
|
| |
| | [No title] |
 | | The purpose of “call by value” is to protect an argument from being changed when the programmer does not want it to be changed. |  | | If the value of the parameter is changed, the value of the corresponding argument variable is changed immediately. |  | | Value arguments are used to carry information into a subprogram, only. |
|
http://www.cs.okstate.edu/cs1103/Handouts/ParameterPassing.doc
|
|
| |
| | Lahey - ELF90 Syntax |
 | | 27 28 Constraint: An interface-block in a subprogram must not contain an interface-body for a procedure defined by that sub- program. |  | | 41 R511 intent-spec is IN 42 or OUT 43 or IN OUT Page 311 Constraint: The INTENT attribute may appear only in the specifi- cation-part of a subprogram or an interface body (12.3.2.1). |  | | 3:15 16 R1224 return-stmt is RETURN 17 Constraint: The return-stmt must be contained in the scoping unit of a function or subroutine subprogram. |
|
http://www.lahey.com/elf_sntx.htm
|
|
| |
| | Six Year Highway Improvement Program - State Highway Rehabilitation Subprogram - State bridges |
 | | For more information about getting your free copy of the Adobe Reader, visit WisDOT's Software information page. |  | | The State Bridges component of the SHR subprogram deals with improvements to bridges on the non-Interstate portion of the state highway system, including bridge replacements and major bridge repair. |  | | Bridge rehabilitation generally increases load-carrying capacity and widens deck roadways. |
|
http://www.dot.state.wi.us/projects/state/sixyear/bridges.htm
|
|
| |
| | 2.2 Subprogram body |
 | | The value of the attribute (a string) can contain implementation specific information for linking the external program (see example below). |  | | Shared variables must not be declared in subprograms. |  | | The subprogram specification can act as the declaration. |
|
http://www.vhdl-online.de/REF93/englisch/r_8.htm
|
|
| |
| | Ada 95 RM - 8.5.4 Subprogram Renaming Declarations |
 | | The expected profile for the callable_entity_name is the profile given in the subprogram_specification. |  | | A function whose defining_designator is either an identifier or an operator_symbol can be renamed with either an identifier or an operator_symbol; for renaming as an operator, the subprogram specification given in the renaming_declaration is subject to the rules given in 6.6 for operator declarations. |  | | Enumeration literals can be renamed as functions; similarly, attribute_references that denote functions (such as references to Succ and Pred) can be renamed as functions. |
|
http://lglwww.epfl.ch/docs/ada/rm95html-1.0/rm9x-08-05-04.html
|
|
| |
| | [No title] |
 | | Deep binding ¡Ä É [ . / É [ . / ª Ñ ó º m ¨! Passing Subprograms as [*#Parameter#Parameters ª ! *] ¨% What is the correct referencing environment for a subprogram that was sent as a parameter? |  | | Deep binding ¡Ä É [ . / É [ . / ª Ò ó º m ¨! Passing Subprograms as Parameters ª " ¨% What is the correct referencing environment for a subprogram that was sent as a parameter? |  | | Early Pascal and FORTRAN 77 do not Later versions of Pascal, Modula-2, and FORTRAN 90 do Ada does not allow subprogram parameters C and C++ - pass pointers to functions; parameters can be type checked What is the correct referencing environment for a subprogram that was sent as a parameter? |
|
http://www.cse.ohio-state.edu/~bmathis/655-topics/traditional-topics/subroutines.ppt
|
|
| |
| | BES Subprogram Descriptions |
 | | This research seeks to understand the atomistic basis of materials properties and behavior and how to make materials perform better at acceptable cost through new methods of synthesis and processing. |  | | The Chemical Sciences, Geosciences, and Energy Biosciences subprogram supports basic research in atomic, molecular and optical science; chemical physics; photochemistry; radiation chemistry; physical chemistry; inorganic chemistry; organic chemistry; analytical chemistry; separation science; heavy element chemistry, geochemistry, geophysics, and physical biosciences. |  | | This subprogram is a premier sponsor of condensed matter and materials physics in the U.S. The subprogram also contains the DOE EPSCoR program. |
|
http://www.science.doe.gov/bes/Division.htm
|
|
| |
| | Ada 95 RM - 6.3 Subprogram Bodies |
 | | In contrast to other bodies, a subprogram_body need not be the completion of a previous declaration, in which case the body declares the subprogram. |  | | The elaboration of a non-generic subprogram_body has no other effect than to establish that the subprogram can from then on be called without failing the Elaboration_Check. |  | | If a designator appears at the end of a subprogram_body, it shall repeat the defining_designator of the subprogram_specification. |
|
http://www.grammatech.com/rm95html-1.0/rm9x-06-03.html
|
|
| |
| | [No title] |
 | | Implemented by passing parameter-less subprograms (thunks) rather than variable name. |  | | Substitute name or expression (in calling environment) for formal parameter The name location binding is delayed until (and established fresh each time) the formal parameter is encountered. |
|
http://www.cs.usu.edu/~allanv/cs4700/Seb9.ppt
|
|
| |
| | AARM95 - Subprogram Declarations |
 | | 2 Abstract subprograms do not have bodies, and cannot be used in a nondispatching call (see 3.9.3, ``Abstract Types and Subprograms''). |  | | 4 Subprograms can be called recursively and can be called concurrently from multiple tasks. |  | | An access-to-subprogram type has a designated profile.] Associated with a profile is a calling convention. |
|
http://www.iuma.ulpgc.es/users/jmiranda/gnat-rts/aarm/AA-6-1.html
|
|
| |
| | Merriam-Webster Online |
 | | For More Information on "subprogram" go to Britannica.com |  | | Get the Top 10 Search Results for "subprogram" |
|
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=subprogram
|
|
| |
| | AARM95 - Subprogram Bodies |
 | | has no other effect than to establish that the subprogram can from then on be called without failing the Elaboration_Check. |  | | need not be the completion of a previous declaration[, in which case the body declares the subprogram]. |  | | is invoked by a subprogram call.] For this execution the |
|
http://www.iuma.ulpgc.es/users/jmiranda/gnat-rts/aarm/AA-6-3.html
|
|
| |
| | ADB Approves Third Subprogram Loan for the Development of Cambodia's Financial Sector - ADB.org |
 | | Cambodia's nascent financial system has been a constraint faced by the Government in achieving its development objectives. |  | | The achievements of the first two subprograms and the Government's growing capacity to implement reforms justify continued support under the third subprogram. |  | | The third subprogram will be implemented over a period of 18 months. |
|
http://www.adb.org/Documents/News/2005/nr2005149.asp
|
|
| |
| | ADB Approves Second Subprogram Loan for Financial Reforms in Viet Nam - ADB.org |
 | | The second subprogram is a combination of the originally planned second and third subprograms of FSPL II, with the proposed policy actions refined to reflect the Government's achievements and the evolving policy environment. |  | | The Agence Francaise de Developpement, which provided cofinancing of 23 million for subprogram I, will provide 12 million in cofinancing for subprogram II. |  | | "There is momentum building in undertaking reform measures within the financial sector components covered under FSPL II and continuing with the second subprogram without interruption will be important for achieving the program's objectives," says Ms. |
|
http://www.adb.org/printer-friendly.asp?fn=/Documents/News/2004/nr2004165.asp
|
|
| |
| | [No title] |
 | | Southern Bluefin Tuna Aquaculture Subprogram - development of a strategic plan for the propagation of Southern Bluefin Tuna (SBT) - Australia's Fisheries Research and Development Corporation (FRDC) |
|
http://www.aquanic.org/beginer/marinefish/marinefish.htm
|
|
| |
| | Behavior Analyst Today Resource Links |
 | | Queens College and Graduate Center of CUNY, Ph.D Learning Processes Doctoral Subprogram (2002-2007) |
|
http://www.behavior-analyst-online.org/NEWBAT/Frameless%20BAT/Links.html
|
|
| |
| | How to Open Control Panel Folders from the Command Prompt |
 | | Launches the Users and Passwords Control Panel subprogram |  | | Launches the Desktop Control Panel subprogram, with the Appearance tab preselected |  | | For example, to open the printers folder, type the following at the MS-DOS command prompt: |
|
http://support.microsoft.com/?kbid=180025
|
|
| |
| | Center for Cultural and Eco-Tourism: CCET |
 | | In July of 2003 Rees was awarded a three-year, $90,628 grant from Louisiana Board of Regents (BoR) Research Competitiveness Subprogram. |  | | The PMAP team visited more than a dozen mound sites during the summer of 2003 and conducted background research in parish courthouses and at the offices of the Louisiana Division of Archaeology. |  | | The PMAP began its second year of investigations in the summer of 2003, focusing on Native American mound sites associated with Plaquemine culture and dating from the Mississippi period (ca. |
|
http://ccet.louisiana.edu/01.10_CCET_Newsletter.html
|
|
|