home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _BD46230DD4D644559E5E66470D6BB661 < prev    next >
Text File  |  2003-03-07  |  8KB  |  366 lines

  1. numeric := tan
  2.  
  3. Syntax
  4.  
  5. (Angle: numeric)
  6.  
  7. Description
  8.  
  9. Get the tangent of an angle in radians.
  10.  
  11. Return Value
  12.  
  13. Tangent of an angle in radians.
  14.  
  15. Parameters
  16.  
  17. Angle: numeric    Angle in radians
  18.  
  19. numeric := tanh
  20.  
  21. Syntax
  22.  
  23. (Angle: numeric)
  24.  
  25. Description
  26.  
  27. Get the hyperbolic tangent of an angle in radians.
  28.  
  29. Return Value
  30.  
  31. Hyperbolic tangent of an angle in radians.
  32.  
  33. Parameters
  34.  
  35. Angle: numeric    The angle in radians
  36.  
  37. numeric := TimeHour
  38.  
  39. Syntax
  40.  
  41. ([Time: numeric])
  42.  
  43. Description
  44.  
  45. Return a number representing the hour on a 24-hour clock.
  46.  
  47. Return Value
  48.  
  49. Number if successful, or DateAndTime.Error! if not.
  50.  
  51. Parameter
  52.  
  53. Time: numeric (optional)    If missing, the current system time is used.
  54.  
  55. Note
  56.  
  57. * To pass a specific time, use the DateAndTime function.
  58. numeric := TimeHundredth
  59.  
  60. Syntax
  61.  
  62. ([Time: numeric])
  63.  
  64. Description
  65.  
  66. Return a number representing hundredths of a second.
  67.  
  68. Return Value
  69.  
  70. Number if successful, or DateAndTime.Error! if not.
  71.  
  72. Parameter
  73.  
  74. Time: numeric (optional)    If missing, the current system hundredths of a second is used.
  75.  
  76. numeric := TimeMinute
  77.  
  78. Syntax
  79.  
  80. ([Time: numeric])
  81.  
  82. Description
  83.  
  84. Return a number representing the minute.
  85.  
  86. Return Value
  87.  
  88. Number if successful, or DateAndTime.Error! if not.
  89.  
  90. Parameter
  91.  
  92. Time: numeric (optional)    If missing, the current system minute is used.
  93.  
  94. Note
  95.  
  96. * To pass a specific time, use the DateAndTime function.
  97. date := TimePart
  98.  
  99. Syntax
  100.  
  101. ([Time: date])
  102.  
  103. Description
  104.  
  105. Remove the date from the specified time, returning a date/time with only the time part in it. The date portion of the returned date/time value is cleared, which represents an invalid date.
  106.  
  107. Return Value
  108.  
  109. The time part of the specified date/time.
  110.  
  111. Parameter
  112.  
  113. Time: date     The date/time to return the time part of. If missing, then the current date/time is used.
  114.  
  115. numeric := TimeSecond
  116.  
  117. Syntax
  118.  
  119. ([Time: numeric])
  120.  
  121. Description
  122.  
  123. Return a number representing the second.
  124.  
  125. Return Value
  126.  
  127. Number if successful, or DateAndTime.Error! if not.
  128.  
  129. Parameter
  130.  
  131. Time: numeric (optional)    If missing, the current system second is used.
  132.  
  133. Note
  134.  
  135. * To pass a specific time, use the DateAndTime function.
  136. string := TimeString
  137.  
  138. Syntax
  139.  
  140. ([Time: numeric]; [Format: string])
  141.  
  142. Description
  143.  
  144. Return the time in a string.
  145.  
  146. Example
  147.  
  148. vCurrentTime := TimeString (; "h:m:ss tt")
  149.  
  150. MessageBox (x; "TimeString"; vCurrentTime)
  151.  
  152. Result (format): 3:52:34 PM
  153.  
  154. Return Value
  155.  
  156. String if successful, or empty string ("") if not.
  157.  
  158. Parameter
  159.  
  160. Time: numeric (optional)    If missing, the current system time is used.
  161.  
  162. Format: string (optional)    Specify a time-string format. If missing, the current Windows Control Panel format is used. See the example above, and see the table below for details.
  163.  
  164.  
  165.  
  166. Time    Enumerations
  167.  
  168. Hours    h (hours without leading zeros for single digit hours, 12-hour clock)
  169.  
  170. hh (hours with leading zeros for single digit hours, 12-hour clock)
  171.  
  172. H (hours without leading zeros for single digit hours, 24-hour clock)
  173.  
  174. HH (hours with leading zeros for single digit hours, 24-hour clock)
  175.  
  176. Minutes    m (minutes without leading zeros for single digit numbers)
  177.  
  178. mm (minutes with leading zeros for single digit minutes)
  179.  
  180. Seconds    s (seconds without leading zeros for single-digit seconds)
  181.  
  182. ss (seconds with leading zeros for single-digit seconds)
  183.  
  184. Time Marker    t (one-character time marker: 'a' or 'p')
  185.  
  186. tt (multi-character time marker: 'am' or 'pm')
  187.  
  188. Note
  189.  
  190. * To pass a specific time, use the DateAndTime function.
  191. any := TimeZoneInfo
  192.  
  193. Syntax
  194.  
  195. (InfoItem: enumeration; [TimeChangeoverType: enumeration])
  196.  
  197. Description
  198.  
  199. Return information about the current time zone and time change.
  200.  
  201. Return Value
  202.  
  203. Requested information. InfoItem parameter describes the type of data returned for each item.
  204.  
  205. Parameters
  206.  
  207. InfoItem: enumeration    Item on which to get information. Some items use the TimeChangeoverType parameter to specify Standard or Daylight time. The first five items ignore this parameter.
  208.  
  209. TimeZoneNumber! (numeric)    Time zone number for this time zone. Time zones West of Greenwich are negative. Times zones East of Greenwich are positive. Some local time zones have offsets that include half hours. The time zone number is the TimeZoneUTCOffset divided by 60 minutes (number of offset hours). If the offset includes a half hour, the returned time zone is some number plus 0.5.
  210.  
  211. TimeZoneUTCOffset! (numeric)    The offset in minutes from Universal Coordinated Time (UTC), or Greenwich mean time. This value is constant, and does not depend on Standard or Daylight Saving time. It is the solar offset of the time zone relative to Greenwich. To find the total offset from UTC for a time changeover, add TimeChangeoverOffset! to this value for that time changeover type.
  212.  
  213. IsStandardTime! (boolean)    True if the current time changeover is Standard Time, False if not.
  214.  
  215. IsDaylightSavingTime! (boolean)    True if the current time changeover is Daylight Saving Time, False if not.
  216.  
  217. TimeChangeoverType! (enumeration)    The current time changeover. The following items use the TimeChangeoverType parameter to determine the time changeover type on which to return information.
  218.  
  219. UnknownTime! Unable to determine current time changeover.
  220.  
  221. StandardTime! Standard Time is in effect.
  222.  
  223. DaylightSavingTime! Daylight Saving Time is in effect.
  224.  
  225. TimeZoneName! (string)    Name of the current time zone, including the specified time changeover type designator.
  226.  
  227. TimeChangeoverStartDate! (numeric)    Start date and time of the specified time changeover.
  228.  
  229. TimeChangeoverOffset! (numeric)    The offset added to TimeZoneUTCOffset for the specified time changeover in the current time zone. This gets the current local time in relation to UTC (Greenwich mean time).
  230.  
  231. TimeChangeoverType: enumeration (optional)    Time changeover type for which to get information. If missing, CurrentTime! is used.
  232.  
  233. CurrentTime! Use the current time changeover information.
  234.  
  235. StandardTime! Use standard time changeover information.
  236.  
  237. DaylightSavingTime! Use daylight saving time changeover information.
  238.  
  239. string := ToInitialCaps
  240.  
  241. Syntax
  242.  
  243. (String: string; [Style: enumeration])
  244.  
  245. Description
  246.  
  247. Capitalize the first character in a string, or the first character of the words in a string.
  248.  
  249. Return Value
  250.  
  251. Return the mixed-case equivalent of a specified string.
  252.  
  253. Parameters
  254.  
  255. String: string    The string to convert.
  256.  
  257. Style: enumeration (optional)    Default: FirstOfEachWord!
  258.  
  259. FirstCharOnly! Capitalize the first character in the string.
  260.  
  261. FirstOfEachWord! Capitalize the first character of every word in the string.
  262.  
  263. string := ToLower
  264.  
  265. Example
  266.  
  267. Syntax
  268.  
  269. (String: string)
  270.  
  271. Description
  272.  
  273. Convert uppercase letters to lowercase.
  274.  
  275. The value returned by ToLower can be assigned to a variable or used directly by a statement such as If.
  276.  
  277. Example
  278.  
  279. vAnswer := "YES"
  280.  
  281. vAnswer := ToLower(vAnswer)
  282.  
  283. Result: vAnswer equals lowercase yes
  284.  
  285. Shorthand notation Example
  286.  
  287. If(ToLower(vAnswer) = "yes")
  288.  
  289. Beep
  290.  
  291. Else
  292.  
  293. Quit
  294.  
  295. EndIf
  296.  
  297. Explanation: Beep if vAnswer equals lowercase yes.
  298.  
  299. Return Value
  300.  
  301. The lowercase equivalent of uppercase letters.
  302.  
  303. Parameters
  304.  
  305. String: string    A string to convert.
  306.  
  307. string := ToUpper
  308.  
  309. Example
  310.  
  311. Syntax
  312.  
  313. (String: string)
  314.  
  315. Description
  316.  
  317. Convert lowercase letters to uppercase.
  318.  
  319. The value returned by ToUpper can be assigned to a variable or used directly by a statement such as If.
  320.  
  321. Example
  322.  
  323. vAnswer := "yes"
  324.  
  325. vAnswer := ToUpper(vAnswer)
  326.  
  327. Result: vAnswer equals uppercase YES
  328.  
  329. Shorthand notation Example
  330.  
  331. If(ToUpper(vAnswer) = "YES")
  332.  
  333. Beep
  334.  
  335. Else
  336.  
  337. Quit
  338.  
  339. EndIf
  340.  
  341. Explanation: Beep if vAnswer equals uppercase YES.
  342.  
  343. Return Value
  344.  
  345. The uppercase equivalent of lowercase letters.
  346.  
  347. Parameters
  348.  
  349. String: string    A string to convert.
  350.  
  351. boolean := True
  352.  
  353. Description
  354.  
  355. The constant boolean value TRUE.
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.