f_cond.ihlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· IHLP 代码 · 共 12 行

IHLP
12
字号
{* 30nov2004}{...}
{phang}
{cmd:cond(}{it:x}{cmd:,}{it:a}{cmd:,}{it:b}{cmd:)} returns {it:a} if
	{it:x} evaluates to true (not 0) and {it:b} if {it:x} evaluates to
	false (0).{p_end}

{phang}
{cmd:cond(}{it:x}{cmd:,}{it:a}{cmd:,}{it:b}{cmd:,}{it:c}{cmd:)}
	returns {it:a} if {it:x} evaluates to true (not 0), {it:b} if
	{it:x} evaluates to false (0), and {it:c} if {it:x} evaluates
	to {it:missing} ({hi:.}).{p_end}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?