mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 07:40:36 +00:00
Updated tutorial_gdscript_efficiently (markdown)
parent
246646dd4c
commit
3e7dcee55e
@ -58,7 +58,7 @@ Static:
|
||||
```c++
|
||||
void print_value(int value)
|
||||
{
|
||||
printf("value is %i\n,value);
|
||||
printf("value is %i\n",value);
|
||||
}
|
||||
|
||||
[..]
|
||||
@ -296,7 +296,7 @@ Container datatypes (arrays and dictionaries) are iterable. Dictionaries allow i
|
||||
|
||||
```python
|
||||
for key in dict:
|
||||
print(key," -> ",dict[value])
|
||||
print(key," -> ",dict[key])
|
||||
```
|
||||
|
||||
Iterating with indices is also possible:
|
||||
|
Loading…
Reference in New Issue
Block a user