Snippets are not specially defined units of any kind, they're just the bare minimum amount of code needed to fulfill one function or another. Say you're looking at Snippet A:
Code:
void onPlayer(jjPLAYER@ play) {
doSomething(); //abstraction; obviously there is no built-in function with this name, so it'd have to be defined elsewhere in the file
}
and Snippet B:
Code:
void onPlayer(jjPLAYER@ play) {
doSomethingElse();
}
then you "add more than one snippet" by writing:
Code:
void onPlayer(jjPLAYER@ play) {
doSomething();
doSomethingElse();
}
__________________
|