--三元运算符
local iHour = cutil:hour();
local sStatus = iHour >= 12 and 'pm' or 'am';
print(sStatus);
Copyright © TouchNet 2015 all right reserved,powered by Gitbook最后修订时间: 2022-06-21 09:21:04

results matching ""

    No results matching ""