The files MSGBOX and DOMENU contain the procedures. For instance MSGBOX.SC is included after.
I have used CHAIN to "include" the file but that is not correct, I am looking for the right keyword to run/load a script inside another script in Paradox DOS PAL.
```
;Msgbox.sc
;Display a message in a box with an Accept button
;Top left corner at coordinates Tlr,Tlc
;Height Hgt (must be at least 6 to accommodate message
;and button)
;Width Wdth (must be at least message length + 5)
PROC Msgbox(Msg,Tlr,Tlc,Hgt,Wdth)
PRIVATE ButtonMargin,MsgMargin,Msglen
;CALCULATE LEFT MARGIN TO CENTER MESSAGE
Msglen = LEN(Msg)
MsgMargin = INT((Wdth-Msglen)/2)
;CALCULATE LEFT MARGIN TO CENTER
; ACCEPT BUTTON
ButtonMargin = INT((Wdth-10)/2)
SHOWDIALOG ""
@ Tlr,Tlc HEIGHT Hgt WIDTH Wdth
@ 2,MsgMargin ?? Msg
PUSHBUTTON @ 5,ButtonMargin WIDTH 10
"Accept"
OK
DEFAULT
VALUE "OK"
TAG "Yes"
TO Button
ENDDIALOG
ENDPROC
```
Thanks