Zabaware Support Forums

Zabaware Forums => General Discussion => Topic started by: lightspeed on September 21, 2016, 11:57:20 am

Title: i am getting a syntax error
Post by: lightspeed on September 21, 2016, 11:57:20 am
i am getting a syntax eror in a plug in i have. my question is what causes a syntax error  in a plug in.
This way i have something to go on and what to look for within my plug in.
any help is appreciated .  :) ;)
Title: Re: i am getting a syntax error
Post by: Art on September 21, 2016, 07:45:24 pm
A syntax error usually indicated that something is mis-spelled or misplaced or mis-used.
It can also indicate an error in punctuation or symbol usage (a single missed " around something or some other little bug).

If you could post a few segments we could take a look at it or else send it to me and I'll try to look it over.
Title: Re: i am getting a syntax error
Post by: lightspeed on September 23, 2016, 11:52:30 am
thanks as always Art, for pointing me in the right direction on what to look for , i looked in that area and found various problems, which i took screen shots of that will also hopefully help others in what to look for , their are other things besides just these though that can be misplaced and cause errors . this plug in originally had maybe 5 sentences which of course makes any error easy to find , but when a plug in like this is expanded to maybe 1,212 random sentences, it becomes a lot trickier!
 
below are some pics of some errors i had to correct .

Title: Re: i am getting a syntax error
Post by: Art on September 23, 2016, 03:34:12 pm
Good work Lonnie! Yes, some programming languages are very particular as to their format, how things are used and placed.

Hopefully some others can benefit from your frustrations! Hopefully, your Plugin will work better too!  ;)
Title: Re: i am getting a syntax error
Post by: lightspeed on September 23, 2016, 04:57:41 pm
yeah, i have it going again , at least till i goof up again , but at least i am learning lol.  :) ;) and yes my illustrations pictures can show some what to look for as far as mistakes they might make in plug ins.
Title: Re: i am getting a syntax error
Post by: Art on September 24, 2016, 07:36:40 am
Did the Gender Plugin I sent you work for your Hal?
Title: Re: i am getting a syntax error
Post by: lightspeed on September 24, 2016, 03:09:55 pm
Sorry Art, i have been slow have had other things going on just helped my wife today hang laundry out on the line etc. but will get to it and try it, will post about it one way or another.