Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Call WBC WBT
:SubName ... ... Returnand the large exe doing the calling, ie.
call("SubName","parm1") or gosub SubNameI've been trying to use the #include with not alot of luck. Debugging via Studio is important, and based on Marty's comments on the bugs there, I'm inclined to go with the WBC method.
Main program---------------
CALL("XXX.WBC","ADD 111 222") Message("",Answer) CALL ("XXX.WBC","SUB 333 55) Message("",Answer) exitXXX.WBT---------------------------
goto %param1% :ADD answer=param2+param3 return :SUB answer=param2-param3 return
Article ID: W14350
Filename: Creating library files to be called by EXE.txt
File Created: 2000:01:19:12:33:58
Last Updated: 2000:01:19:12:33:58