]> git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
fix table
authorMartin Taibr <taibr.martin@gmail.com>
Sun, 30 Jun 2019 04:20:00 +0000 (04:20 +0000)
committerMartin Taibr <taibr.martin@gmail.com>
Sun, 30 Jun 2019 04:20:00 +0000 (04:20 +0000)
Introduction-to-QuakeC.md

index 2dea2c590c3f7f64f6c62ca7701027f8ed77d826..684a2cdb81971bf9875f16a7ac51587d60ed6ab9 100644 (file)
@@ -276,6 +276,7 @@ string strcat(string a, string b, ...) = #115;
 The function/field syntax is ambiguous. In global scope a declaration can be a variable, field or function. In local scope, it's always a variable. The `var` keyword can be used in global scope to treat is as local scope (always declaring a variable). The following table shows declarations in global scope:
 
 | Example code | Meaning |
+|--------------|---------|
 | `.float a;` | Entity field of type `float` |
 | `float(float x1) a;` or `float a(float x1);` | Function with a `float` param returning `float` |
 | `.float a(float x1);` | Function with a float param returning a `float` field reference |