Browse Source

Update gdscript_advanced.rst

Fix 2 typos.
i-need-to-tell-you-something 7 years ago
parent
commit
6fa4bce2de
1 changed files with 2 additions and 2 deletions
  1. 2 2
      learning/scripting/gdscript/gdscript_advanced.rst

+ 2 - 2
learning/scripting/gdscript/gdscript_advanced.rst

@@ -107,7 +107,7 @@ Pointers & referencing:
 
 
 In static languages such as C or C++ (and to some extent Java and C#),
 In static languages such as C or C++ (and to some extent Java and C#),
 there is a distinction between a variable and a pointer/reference to a
 there is a distinction between a variable and a pointer/reference to a
-variable. The later allows the object to be modified by other functions
+variable. The latter allows the object to be modified by other functions
 by passing a reference to the original one.
 by passing a reference to the original one.
 
 
 In C# or Java, everything not a built-in type (int, float, sometimes
 In C# or Java, everything not a built-in type (int, float, sometimes
@@ -293,7 +293,7 @@ easily with dictionaries. Here's a simple battleship game example:
 
 
 Dictionaries can also be used as data markup or quick structures. While
 Dictionaries can also be used as data markup or quick structures. While
 GDScript dictionaries resemble python dictionaries, it also supports Lua
 GDScript dictionaries resemble python dictionaries, it also supports Lua
-style syntax an indexing, which makes it very useful for writing initial
+style syntax and indexing, which makes it very useful for writing initial
 states and quick structs:
 states and quick structs:
 
 
 ::
 ::