Error message - mismatch

Workarounds and usability notes.

Error message - mismatch

Postby John Robin Dove » Fri Jan 27, 2017 1:19 pm

Hi Clifton,

I wonder if you could help me with this please. I have a system that mimicks a request dialog box. It has always worked correctly. I send a user event to an object to activate it. This is a a string with values separated by commas. Today I realised that in certain cases I cannot use commas because the values themselves contain commas. so I decided to use the § character instead as you can see in this picture.

Image

I changed the code but got this error: Image

This is caused by the disabled code in the picture below. If I enable it I get the error.

Image

I'm hoping you can tell me why.

John
John Robin Dove
 
Posts: 486
Joined: Thu Jan 23, 2014 4:35 am

Re: Error message - mismatch

Postby Clifton » Fri Jan 27, 2017 1:44 pm

For starters, it looks like you have a variable reference issue at the highlighted line:
Image 3.png
Variable mismatch error line
Image 3.png (5.89 KiB) Viewed 642 times
Once you correct that, the export may work fine.
Clifton
Site Admin
 
Posts: 732
Joined: Tue Jan 14, 2014 1:04 am

Re: Error message - mismatch

Postby John Robin Dove » Sat Jan 28, 2017 4:16 am

Oops! The bug was in my brain!

Actually it's not the first time this has happened. I should have known better. If you misspell a variable Toolbook responds by stealthily putting it in inverted commas without informing you. If it can do that it could also show an error message which would be much more useful but sadly this is missing.

However, this is no excuse for sending you a question and a picture containg the answer!
John Robin Dove
 
Posts: 486
Joined: Thu Jan 23, 2014 4:35 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron