23 lines
509 B
Text
23 lines
509 B
Text
|
#include "test.gas"
|
||
|
|
||
|
float add(float a, float b) {
|
||
|
return a + b;
|
||
|
}
|
||
|
|
||
|
//this is a comment
|
||
|
void main() {
|
||
|
global float coolFloatDude = 20.30;
|
||
|
global int coolIntegerDude = 30;
|
||
|
|
||
|
coolFloatDude = add(coolFloatDude, coolFloatDude);
|
||
|
|
||
|
::
|
||
|
Function.Intrinsic.Math.Log(coolFloatDude,coolFloatDude)
|
||
|
Function.Intrinsic.Math.Exp(coolFloatDude,coolFloatDude)
|
||
|
Really.Long.Trash.Statement(coolFloatDude,coolFloatDude)
|
||
|
::
|
||
|
|
||
|
if(coolFloatDude <= coolIntegerDude) { //comment after the line ends
|
||
|
Msgbox.Show("Hi");
|
||
|
}
|
||
|
}
|