12-16-2016, 04:58 PM
last one : can getmacro load pairs from a sub function of search/replace macro??
/****code****/
str dict=getmacro("sub.wordforreplacement")
#sub Callback_str_replacerx
function# REPLACERXCB&x
;out x.match
IStringMap& m=+x.rrx.paramr
lpstr k=m.Get(x.match)
if(k) x.match=k
#sub wordforreplacement
;lpstr,Lpstr
;code,Code
;is,Island
;the T
;fast,Faster
;more,More
tried but no joy...
/****code****/
str dict=getmacro("sub.wordforreplacement")
#sub Callback_str_replacerx
function# REPLACERXCB&x
;out x.match
IStringMap& m=+x.rrx.paramr
lpstr k=m.Get(x.match)
if(k) x.match=k
#sub wordforreplacement
;lpstr,Lpstr
;code,Code
;is,Island
;the T
;fast,Faster
;more,More
tried but no joy...