Chapter 12 Making Function


Chapter 12 Making Function

1. Basic Script Finction When writing a script, it is often necessary to write the same code in multiple scripts separately. For this, if the codes of commonly used scripts are made into functions, scripts that are written later do not need the entire code, but simply call the function. Create a function There are two forms of creating a function. Please see below.. The first form: how to define using the keyword function function name { commands } Second form: A form that defines a function thr...



원문링크 : Chapter 12 Making Function