Tag:sub

  • VBS Basics – VBScript process (using sub and function to define functions)

    Time:2021-11-19

    We usually use process functions when reusing some functions, such as cyclic output and paging Sub process A sub procedure is a set of procedures contained between a sub and an end sub statementVBSScript statement. If the sub procedure has no parameters, the sub statement must contain empty parentheses (). The example code is as […]

  • HTML very useful tags optgroup, sub, sup, and BDO sample code

    Time:2021-9-12

    Optgroup is used in the select tag to make the contents of the drop-down list more organized Copy code The code is as follows: <select><optgroup label=”aaa”>< option > distinguish right from wrong < / option >< option > distinguish right from wrong < / option >< option > distinguish right from wrong < / option […]

  • Perl subroutine sub

    Time:2019-10-27

    I. definitionA subroutine is a separate piece of code that performs a special task. It can reduce duplicate code and make the program readable. In Perl, subroutines can appear anywhere in the program. The definition method is:  sub subroutine{     statements;   } II. CallThe call method is as follows:1. Use & call  &subname;   …   sub subname{     …   } 2. First […]