Difference between revisions of "Pc setglobalreg str"

From Hercules Wiki
Jump to: navigation, search
(Created page with "== Define a string variable in the source == #define pc_setglobalreg_str(sd,reg,val) pc_setregistry_str(sd,reg,val,3) pc_setglobalreg(sd,"VARIABLE_NAME", "VALUE"); Th...")
 

Latest revision as of 04:49, 20 September 2013

Define a string variable in the source

#define pc_setglobalreg_str(sd,reg,val) pc_setregistry_str(sd,reg,val,3)
pc_setglobalreg(sd,"VARIABLE_NAME", "VALUE");

This only works for string variables, for numbers check PC_Setglobalreg.