public subroutine wm_addwordmenubar (long x_pos, long y_pos, string caption);i_PBWWord.AddWordMenubar(x_pos, y_pos, caption) end subroutine