Examples of using A subroutine in English and their translations into Serbian
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Latin
-
Cyrillic
If your program is a subroutine library.
A subroutine can check the context using the wantarray function.
If your program is a subroutine library, you may consider.
A subroutine automatically returns when execution reaches its last executable statement.
We can use partition as a subroutine for a general find operation.
When a subroutine is ready to return, it executes an epilogue that undoes the steps of the prologue.
The weighted matching problem can be solved by a combinatorial algorithm that uses the unweighted Edmonds's algorithm as a subroutine.
The idea of a subroutine was worked out after computing machines had already existed for some time.
Intuitively, problem A is reducible to problem B if an algorithm for solving problem B efficiently(if it existed)could also be used as a subroutine to solve problem A efficiently.
A subroutine can be coded so that it may call itself recursively, at one or more places, to perform its task.
There is a significant runtime overhead in a calling a subroutine, including passing the arguments, branching to the subprogram, and branching back to the caller.
Is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library.
In many languages, the class name is used as the name for the class(the template itself),the name for the default constructor of the class(a subroutine that creates objects), and as the type of objects generated by instantiating the class;
If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with.
In many languages, the class name is used as the name for the class(the template itself),the name for the default constructor of the class(a subroutine that creates objects), and as the type of objects generated by instantiating the class; these distinct concepts are easily conflated.
If your program is a subroutine library, you may consider it more useful to permitlinking proprietary applications with the library.
A subroutine whose purpose is to compute one boolean-valued function(that is, to answer a yes/no question) is called a predicate.
A subroutine may be written so that it expects to obtain one or more data values from the calling program(its parameters or arguments).
Besides its main ornormal effect, a subroutine may need to inform the calling program about exceptional conditions that may have occurred during its execution.
A subroutine may be written so that it expects to obtain one or more data values from the calling program(to replace its parameters or formal parameters).
In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit.
If, for example, a subroutine DrawSquare calls a subroutine DrawLine from four different places, the code of DrawLine must have a way of knowing which place to return to.
For example, a subroutine might construct an object that will accept directions, and trace its path to these points on screen.
If, for example, a subroutine DrawSquare calls a subroutine DrawLine from four different places, DrawLine must know where to return when its execution completes.
Some programmers suggest that a subroutine should perform only one task, and if a subroutine does perform more than one task, it should be split up into more subroutines. .
For example, if a subroutine named DrawLine is currently running, having been called by a subroutine DrawSquare, the top part of the call stack might be laid out like in the adjacent picture.
A subroutine frequently needs memory space for storing the values of local variables, the variables that are known only within the active subroutine and do not retain values after it returns.
A subroutine is often coded so that it can be started several times and from several places during one execution of the program, including from other subroutines, and then branch back(return) to the next instruction after the call, once the subroutine's task is done.
A subroutine call may also have side effects such as modifying in a computer memory, reading from or writing to a peripheral device, creating a computer file, halting the program or the machine, or even delaying the program's execution for a specified time.