PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Error 26 invalid control on v16 but not v14  (Read 1236 times)

MikeinFL

  • Silver Member
  • ***
  • Posts: 35
    • View Profile
Error 26 invalid control on v16 but not v14
« on: April 13, 2020, 06:52:14 PM »
I have a string type multi-line A1.CTL on a panel.

I have this line of code:

BUTTON DISABLE A1.CTL

It's not a button.  It's a multi-line.  When run on v14.10.0000 nothing happens, ignored.  But when same code run on another machine with v16.10.0000 demo, the code produces error 26. 

After the error I do this to show it's a valid multi_line:

? a1.ctl
10002

Do I have something set different between the the two machines?  Is there an ignore set/not set in nomads somewhere?  Or is this a different error behavior between v14 and v16?  I prefer the error.  Thanks
« Last Edit: April 13, 2020, 06:54:00 PM by MikeinFL »

Mike King

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Error 26 invalid control on v16 but not v14
« Reply #1 on: April 14, 2020, 02:11:22 PM »
Are you using WindX? If so perhaps you have Turbo mode enabled on V14 and not V16.

Version 14 normally does complain about using the wrong command as seen in the attachment.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

MikeinFL

  • Silver Member
  • ***
  • Posts: 35
    • View Profile
Re: Error 26 invalid control on v16 but not v14
« Reply #2 on: April 14, 2020, 03:31:32 PM »
That's it, thanks!  It was set to on in start_up, but i removed it, ran pxplus again, and it was still on.  So at the moment I can't find it anywhere in my code so I had to add a line to turn it off.  it's also not one of the parameters in **.  Is there somewhere else not in my code it might get turned on? 

Mike King

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Error 26 invalid control on v16 but not v14
« Reply #3 on: April 14, 2020, 03:53:47 PM »
Generally when you run Nomads the system sets it on to improve performance.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com