Qbasicnews.com

Full Version: Call Routine
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a mouse routine but when I run it there seems to be a problem with the CALL function. I recall I had to load or download something to get it to work the last time I used it. Any ideas?
CALL requires parenthesis around the parameters passed.

CALL MySub (AX, BX, CX, DX)

You don't need parenthesis without CALL.

MySub AX, BX, CX, DX    'call without call lol

Ted
Ted:

I smiled at your quick wit ith your "'call without call lol".  And very appropriate, too!
I figured it out. I had to load the library  qb /l to get my call routines to work.