Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart committed Mar 20, 2019
1 parent 5280917 commit b6ffb94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ meow!
...
```

What if an external object could modify the sound of the animal? Trying to access `animal.sound` externally will trigger an error, unless you add the **public** keyword to your variable:
What if an external object could modify the sound of the animal? Trying to access `animal.sound` externally will trigger an error, unless you add the **public** specifier to your variable:

```
object "Animal"
Expand Down Expand Up @@ -73,7 +73,7 @@ object "Application"
}
```

Since SurgeScript 0.5.3, you may add the **readonly** specifier after the **public** keyword. Doing so disallows the modification of the property by external objects:
Since SurgeScript 0.5.3, you may add the **readonly** modifier after the **public** specifier. Doing so disallows the modification of the property by external objects:

```
object "Animal"
Expand Down

0 comments on commit b6ffb94

Please sign in to comment.