In computer science, a subroutine (function, method, procedure, or subprogram) is a portion of code within a larger program, which performs a specific task and is relatively independent of the remaining code. http://en.wikipedia.org/wiki/Procedure_(programming) Vienkāršoti - procedūra ir koda gabals, tātad tajā var ielikt papildus kodu. Sarežģītāk ir izlemt, vai kā īpašvārdu atstāt netulkotu tikai "Timer" vai visu "Timer event". P.S. Ja ir neskaidrs, kas ir "kods"... In computer programming, the word code refers to instructions to a computer in a programming language. In this usage, the noun "code" typically stands for source code, and the verb "to code" means to write source code, to program. http://en.wikipedia.org/wiki/Code_(computer_programming)
|