Qbasicnews.com

Full Version: Old question, already answered
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
well when I type
Code:
relcls(varseg(dbuf(0)),0)

it says "Expected ="

Code:
relcls(varseg(dbuf(0)),0)=

"Expected expression"

Code:
relcls(varseg(dbuf(0)),0)=a

^ Valid code

What's this?, anyway I'm rebooting now to see if it was just QB
(It is the latest (?) verision of rellib and QB4.5)

HELP!
It's because QB thinks relcls is an array. You're not supposed to put parethesis around parameters when calling a SUB.
Thanks! I thought it was that but for a different reason...
you use the CALL command:

Code:
CALL runthissub (argument1, argument2)

is the same as:

Code:
runthissub argument1, argument2

*peace*

Meg.