Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call Routine
#1
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?
Reply
#2
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
Get my QB demonstrator here: http://dl.dropbox.com/u/8440706/Q-Basics.zip
Reply
#3
Ted:

I smiled at your quick wit ith your "'call without call lol".  And very appropriate, too!
Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
Reply
#4
I figured it out. I had to load the library  qb /l to get my call routines to work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)