Custom Config Vars
Monkey Forums/Monkey Programming/Custom Config Vars
| ||
Is there a way to create custom config vars? (The ones that go in the CONFIG.TXT file) |
| ||
Yep:#FOO=1 #BAR=2 Strict Function Main:Int() #if FOO=1 Print "Foo is one" #end #if BAR=1 Print "bar is one" #end #if BAR=2 Print "bar is two" #end Print "Foo Bar FTW" Return 0 End Outputs: Foo is one bar is two Foo Bar FTW |