English
Chinese
 
yTin Online Help
 
 
Home (english)
|
Home (chinese)
|
Downloads
|
Sample scripts
|
Online help
|
Utilities
|
FAQs
|
Discussions/Messages
|
Mud&links
|
My Progs
|
Mirrors
|
res
Command: result - write a string to the function buffer
Syntax:  
#result
{-result-}
Example:
#func
{ctof} {
#math
result %0*9/5+32;{
#result
$result degrees fahrenheit};
#unvar
result}
           
#showme
30 degrees celsius equals @ctof{30}.
Example:
#func
{ftoc} {
#math
result (%0-32)*5/9;{
#result
$result degrees celsius};
#unvar
result}
           
#showme
80 degrees fahrenheit equals @ftoc{80}.
See also:
#function
Help on RES not found!