Multiples source codes

Monkey Forums/Monkey Programming/Multiples source codes

Vignoli(Posted 2013) [#1]
Hi,

I try to use multiples source codes in Monkey but when i use, for example, the command 'import "secondsource.monkey', i obtain the error "syntax error , expecting declaration".

EDIT: If i place the 'import' command before all, it's better, but the functions inside my second source are ignored.


Raph(Posted 2013) [#2]
Your syntax should just be

Import secondsource



Vignoli(Posted 2013) [#3]
Thanks a lot