Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Functions page #1465

merged 1 commit into from Aug 9, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -8,6 +8,8 @@ A function can be [annotated](/ride/

There are multiple [built-in functions](/ride/built-in-functions/ in RIDE.

When declaring a function to the right of the "=" sign must be an [expression](/ride/ The value of the function is the expression result.

## Examples

Definition of the function with no parameters that returns an integer:
@@ -8,6 +8,8 @@

В RIDE есть множество [встроенных функций](/ride/

При объявлении функции справа от знака "=" должно находиться [выражение](/ride/ Значение функции — [результат выражения](/ride/

## Примеры

Определение функции без параметров, которая возвращает целое число:
@@ -24,4 +26,4 @@ func main() = {
func main(amount: Int, name: String) = {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.