Error handling issue

Getting started -basics for starting with WinTask

Error handling issue

Postby Kerm on Tue Oct 15, 2013 8:46 am

Hi,
I handle error using a proc, and I call it in such an If block:
If tabcell_3$(0)<>"Suspended"
Then error_handling()
EndIf

However when tabcell_3$(0) is not Suspended, the proc is not called.
What can be wrong?
Kerm
 
Posts: 27
Joined: Tue Oct 18, 2005 4:27 pm

Re: Error handling issue

Postby TechSupport on Wed Oct 16, 2013 7:47 am

Hello,

One possible reason can be some spaces in tabcell_3$(0), get rid of those possible spaces using Trim$, here would be the If block:
If Trim$(tabcell_3$(0))<>"Suspended"
Then error_handling()
EndIf

Regards.
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Getting started

Who is online

Users browsing this forum: No registered users and 1 guest

cron