mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-05 04:34:30 -07:00
llGetKey example replaced with llGetOwner.
This commit is contained in:
parent
9e9997bc98
commit
e9d8af6e11
1 changed files with 3 additions and 3 deletions
|
@ -39,12 +39,12 @@ Allow arbitrary expressions in globals, as long as they resolve to a single cons
|
||||||
|
|
||||||
### Concatenation of key and string
|
### Concatenation of key and string
|
||||||
|
|
||||||
You can write for example:
|
It allows you to write for example:
|
||||||
```
|
```
|
||||||
llOwnerSay("My key is: " + llGetKey());
|
llOwnerSay("Your key is: " + llGetOwner());
|
||||||
```
|
```
|
||||||
|
|
||||||
which confusingly produces a type mismatch error in LSL, while `llOwnerSay(llGetKey());` doesn't.
|
which confusingly produces a type mismatch error in LSL, even though `llOwnerSay(llGetOwner());` doesn't.
|
||||||
|
|
||||||
### C-like string juxtaposition.
|
### C-like string juxtaposition.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue