From: Martin Taibr Date: Sun, 30 Jun 2019 04:20:00 +0000 (+0000) Subject: fix table X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e845b89c4872cbc73203f2f2aed0667176c58342;p=xonotic%2Fxonotic.wiki.git fix table --- diff --git a/Introduction-to-QuakeC.md b/Introduction-to-QuakeC.md index 2dea2c5..684a2cd 100644 --- a/Introduction-to-QuakeC.md +++ b/Introduction-to-QuakeC.md @@ -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 |