f_plural.ihlp
来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· IHLP 代码 · 共 16 行
IHLP
16 行
{* 30nov2004}{...}
{phang}
{cmd:plural(}{it:n}{cmd:,}{it:s}{cmd:)} returns the plural of {it:s} by
appending "s" if {it:n} does not equal 1 or -1, otherwise
this function returns {it:s}.{p_end}
{phang}
{cmd:plural(}{it:n}{cmd:,}{it:s1}{cmd:,}{it:s2}{cmd:)} returns the plural of
{it:s1} if {it:n} does not equal 1 or -1, and what is returned
depends on {it:s2}. If {it:s2} begins with a "+", returned is
{it:s1} with what follows the "+" in {it:s2} appended. If {it:s2}
begins with a "-", returned is {it:s1} with what follows the "-"
in {it:s2} removed from the end of {it:s1}. If {it:s2} does not
begin with "+" or "-", {it:s2} is returned. If {it:n} equals 1
or -1, {it:s1} is returned.{p_end}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?