#module
#deffunc func2 str
mref p1, 32 : sdim b,256 : b=p1
mes "func2:b = "+b
b = "恐怖!勝手に書き換えられました"
return
#global
func1 "始めのパラメータです"
stop

最善策