For starters, you don't need to call
#include "sbasic_include.sbas" twice. Global Code is the best place for it.
Next, open the sbasic_include.sbas file and verify that you have the following lines in it:
#define SEARCH_MODE_AND 0
#define SEARCH_MODE_OR 1
#define SEARCH_SYNTAX_QA 2
#define SEARCH_SYNTAX_REGEX 3
Also, check the properties of the shortcuts that you use to launch Sesame and SDesigner. Look at the "Start in:" value. It should be "C:\Sesame2" by default. That's the folder where the sbas file should be located.
The error message you are getting indicates that Sesame is not finding the "#define..." lines above. If all else fails you can put those lines in your Global Code, or just enter the numbers directly into the command like this:
vRSHandle = @XResultSetSearch("Data\Expenses.db","Expenses by Cash & Check", 0 ,
2,"!LE2 = Code","!Choose Acct = Accounting.." ,
"!dollars", "!Pay to")