This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
beyond:pangoscript [2020/05/26 16:45] Bob Varkevisser |
beyond:pangoscript [2020/05/27 16:17] Bob Varkevisser removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~DRAFT~~ | ||
+ | |||
====== PangoScript ====== | ====== PangoScript ====== | ||
Line 128: | Line 130: | ||
===== General functions ===== | ===== General functions ===== | ||
- | **intstr**(value: | + | ^ Function ^ description ^ value ^ |
- | value - number or float number\\ | + | | **intstr**(value: |
- | result - string\\ | + | | **floatstr**(value: |
- | \\ | + | | **abs**(value: |
- | **floatstr**(value: | + | | **int**(value: |
- | value - number\\ | + | | **frac**(value: |
- | result - string\\ | + | | **round**(value: |
- | \\ | + | | **sqr**(value: |
- | **abs**(value: | + | | **sqrt**(value: |
- | value - integer or float number\\ | + | | **cos**(value: |
- | result - same type as argument. result is absolute value\\ | + | | **sin**(value: |
- | \\ | + | | **tan**(value: |
- | **int**(value: | + | | **arcsin**(value: |
- | value - a float point number\\ | + | | **arccos**(value: |
- | \\ | + | | **arctan**(value: |
- | **frac**(value: | + | | **arctan2**(dx, |
- | value - float\\ | + | | **min**(a, |
- | \\ | + | | **max**(a, |
- | **round**(value: | + | | **pi**: |
- | value - a float point number\\ | + | | **invert**(value: |
- | \\ | + | |
- | **sqr**(value: | + | |
- | value - a float point number or integer\\ | + | |
- | \\ | + | |
- | **sqrt**(value: | + | |
- | value - a float point number or integer\\ | + | |
- | \\ | + | |
- | **cos**(value: | + | |
- | value - a float point number or integer. angle in radians\\ | + | |
- | \\ | + | |
- | **sin**(value: | + | |
- | value - a float point number or integer. angle in radians\\ | + | |
- | \\ | + | |
- | **tan**(value: | + | |
- | value - a float point number or integer. angle in radians\\ | + | |
- | \\ | + | |
- | **arcsin**(value: | + | |
- | value - a float point number or integer. angle in radians\\ | + | |
- | \\ | + | |
- | **arccos**(value: | + | |
- | value - a float point number or integer. angle in radians\\ | + | |
- | \\ | + | |
- | **arctan**(value: | + | |
- | value - a float point number or integer. angle in radians\\ | + | |
- | \\ | + | |
- | **arctan2**(dx, | + | |
- | dx, dy - ....\\ | + | |
- | \\ | + | |
- | **min**(a, | + | |
- | a,b float or integer\\ | + | |
- | \\ | + | |
- | **max**(a, | + | |
- | a,b float or integer\\ | + | |
- | \\ | + | |
- | **pi**: | + | |
- | \\ | + | |
- | **invert**(value: | + | |
===== Date and Time ===== | ===== Date and Time ===== | ||
- | **now: | + | ^ Function ^ description ^ |
- | \\ | + | | **now: |
- | **tickcount**: | + | | **tickcount**: |
- | \\ | + | | **hms**(hour, |
- | **hms**(hour, | + | | **GetYear**: |
- | \\ | + | | **GetMonth**: |
- | **GetYear**: | + | | **GetDay**: |
- | \\ | + | | **timestr**(now: |
- | **GetMonth**: | + | | **timestrlong**(now: |
- | \\ | + | |**datestr**(now: |
- | **GetDay**: | + | |**datestrlong**(now: |
- | \\ | + | | **dayofweek**(now: |
- | **timestr**(now: | + | | **dayofweeklong**(now: |
- | now - is variable representing time. Function return string with time in short format such as " | + | |
- | \\ | + | |
- | **timestrlong**(now: | + | |
- | now - is variable representing time. Function return string with hours, minutes, seconds, such as " | + | |
- | \\ | + | |
- | **datestr**(now: | + | |
- | now - is variable representing date. Function return string short date format such as " | + | |
- | \\ | + | |
- | **datestrlong**(now: | + | |
- | now - is variable representing date. Function return string long date format such as "21 ������ 2012 �."\\ | + | |
- | \\ | + | |
- | **dayofweek**(now: | + | |
- | \\ | + | |
- | **dayofweeklong**(now: | + | |
===== String functions ===== | ===== String functions ===== | ||
- | **uppercase**(string): | + | ^ Function ^ description ^ |
- | \\ | + | | **uppercase**(string): |
- | **lowercase**(string: | + | | **lowercase**(string: |
- | \\ | + | | **crlf**: |
- | **crlf**: | + | |
===== Clock And Metronome ===== | ===== Clock And Metronome ===== | ||
- | **b2s**(beats) | + | ^ Function ^ description ^ |
- | \\ | + | | **b2s**(beats) |
- | **b2ms**(beats) | + | | **b2ms**(beats) |
- | \\ | + | | **s2b**(seconds) |
- | **s2b**(seconds) | + | | **b2s**(seconds) |
- | \\ | + | |
- | **b2s**(seconds) | + | |
+ | ===== More to come ===== | ||