流程控制:while/until 循环 In the previous chapter, we developed a menu-driven program to produce various kinds of system information. The program works, but it still has a significant ...
流程控制:case 分支 In this chapter, we will continue to look at flow control. In Chapter 28, we constructed some simple menus and built the logic used to act on a user’s selection. To ...
基本语法 if … else … end 语法: E.g: range … end 语法: E.g : with … end 语法: define template 注释 基本函数 and call index len not or print printf println urlquery eq / ne / ...
flag - 命令行参数解析 使用示例 flag 包概述 定义 flags 有两种方式 自定义 Value 解析 flag flag 包的类型和函数 flag 包的函数 flag 包的4种类型(数据结构) FlagSet 类型对应的一些方法(包括类型实例化) 实例化方式的定义 FlagSet 类型 ★★★ 定义 flag 参数的方法 ...