For example, If I used much plugin who use a lot of 'datas' (offset, custom values, etc), what is the best method to hold these 'datas' whit "const" or "#define" ?
If I use "#define" while clear a bit of memory, for example:
PHP Code:
#define MY_OFFSET 114
#define OFF_DIFF 5
#define MY_VALUE 3
set_pdata_int( id, MY_OFFSET, MY_VALUE, OFF_DIFF )
// after compile set:
set_pdata_int( id, 114, 3, 5 )
and If I used "const" while set:
PHP Code:
set_pdata_int( id, MY_OFFSET, MY_VALUE, OFF_DIFF )
right ?
What is the better solution ?
Thanks, and sorry for stupid question.