Examples of using Subroutine in English and their translations into Chinese
{-}
-
Political
-
Ecclesiastic
-
Programming
The subroutine must have a name.
Category(Is it a variable, subroutine, or built-in type?).
The subroutine in the previous example could be made even simpler.
Chuck: You have a subroutine for each device.
And not just the code,but also the high level design, the subroutines.
FORTRAN II appears, able to handle subroutines and links to assembly language.
We will create the connection to the database in the Page_Load subroutine.
A subroutine call not only branches but saves the preceding contents of the PC somewhere.
If the order of$a and$b doesn't matter,the subroutine returns 0.
Call a subroutine SUBR in the lower 64 K and return to the address in the lower 64 K.
The parentheses let the computer know that this is a subroutine rather than a variable.
Some languages may call it a subroutine, method, or procedure, but they are essentially the same thing.
(This is, in large part, due to the limitations of stack-based subroutine implementation.).
In Prolog, each rule corresponds to a subroutine, and its antecedents are the subroutines it calls.
In many programming languages,a function prototype is the declaration of a subroutine or function.
Any object of type PrintStream has a print subroutine that can be used to send information to that destination.
But the BXLR instruction, the one we're focusing on here,is indeed the subroutine return instruction.
After subroutine A completes, it will then return directly to the return address of foo, omitting the unnecessary ret statement.
Here, Handles MyBase. Load indicates that Form1_Load() subroutine handles Load event.
Extra credit exercise: write a subroutine, called&above_average, that takes a list of numbers and returns the ones that are above the average(mean).
He didn't think of it as an algorithm at the time, partly because a key subroutine was still missing.
In order to facilitate the effective integration of these subroutines, it is necessary to select the appropriate modular subroutine beforehand.
The way printf and sprintf(see Printf)perform rounding often depends upon the system's C sprintf subroutine.
This allows subroutines written in those languages to call, or be called by, existing Windows libraries using a calling convention different from their default.
Base Pointer(BP)- The BP register mainlyhelps in referencing the parameter variables passed to a subroutine.
BMW confirmed the raids andrepeated the company's stance that"a correctly programmed software subroutine was mistakenly allocated to incompatible models.".
If you want to initialize some variables like properties, etc.,then you will keep such code inside Form1_Load() subroutine.
So the branch link instruction to the function is the function call,and we can see here that the BXLR instruction is the subroutine return.