projects
/
xonotic
/
gmqcc.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make it a function
[xonotic/gmqcc.git]
/
tests
/
varargs2.qc
1
void past8(float a, float b, float c, float d, ...count)
2
{
3
float i;
4
print("out:");
5
for (i = 0; i < count; ++i)
6
print(" ", ftos(...(i, float)), "");
7
print("\n");
8
}
9
10
void main() {
11
past8(1, 2, 3, 4, 10, 20, 30, 40, 50, 60, 70, 80);
12
}