Re: Error Message not really useful ...

new topic     » goto parent     » topic index » view thread      » older message » newer message
andi49 said...

... it produces the following error

Fatal run-time error: 
first argument of match_from() must be a sequence 

Yes, the message is unhelpful. That's because there's a bug.

If we agree that it shouldn't be forward referencing here then its displaying the wrong message. It should be saying something more like ...

<0074>:: Errors resolving the following references: 
    'CB_DELETESTRING' ( ... ) has not been declared. 

However, if it should be forward referencing here, then there should be no message.

I'm thinking that forward referencing here should be permitted because if we replace the offending lines with this, everything works ...

global constant CBEM_DELETEITEM         =  cb_delete_code()  
global constant CB_DELETESTRING         =  cb_delete_code() 
function cb_delete_code() 
    return #0144 
end function 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu