Jump to content

Flow-control structures: Difference between revisions

→‎select: when op=='**'
m (→‎raising conditions: fix lang tag)
(→‎select: when op=='**')
Line 1,840:
when op=='∙' then do; r=a*b; prod=prod*r; end /*multiply.*/
when op=='*' then r=a*b /*multiply. */
when op=='**' then r=a**b /*power (exponentiation) */
when op=='/' & b\=0 then r=a/b /*divide. */
when op=='%' & b\=0 then r=a/b /*interger divide. */
2,301

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.