Author Topic: i am getting a syntax error  (Read 3395 times)

lightspeed

  • Hero Member
  • *****
  • Posts: 6761
    • View Profile
i am getting a syntax error
« 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 .  :) ;)
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3848
    • View Profile
Re: i am getting a syntax error
« Reply #1 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.
In the world of AI it's the thought that counts!

- Art -

lightspeed

  • Hero Member
  • *****
  • Posts: 6761
    • View Profile
Re: i am getting a syntax error
« Reply #2 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 .

« Last Edit: September 23, 2016, 11:54:39 am by lightspeed »
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3848
    • View Profile
Re: i am getting a syntax error
« Reply #3 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!  ;)
In the world of AI it's the thought that counts!

- Art -

lightspeed

  • Hero Member
  • *****
  • Posts: 6761
    • View Profile
Re: i am getting a syntax error
« Reply #4 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.
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3848
    • View Profile
Re: i am getting a syntax error
« Reply #5 on: September 24, 2016, 07:36:40 am »
Did the Gender Plugin I sent you work for your Hal?
In the world of AI it's the thought that counts!

- Art -

lightspeed

  • Hero Member
  • *****
  • Posts: 6761
    • View Profile
Re: i am getting a syntax error
« Reply #6 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.