WinCC c-funktions

hi,

i've got a strang problem with a c-script written for wincc. well, it looks like there is a non-varying maximum for the amount of commands in a script.

eg: for(x=0;x

Reply to
Stefan
Loading thread data ...

I don't know WinCC, but a general software engineering solution would be to see if one script can call another, and break down your app into multiple, structured scripts. If they're really "scripts", which implies an interpreter, this may not work -- but then again it might. This would certainly be the way to go with a compiler that chokes on long files.

Reply to
Tim Wescott

It may have to do with how the code is optimized as it is translated into machine code. Sometimes the optimizer gets a bit confused. There could also be a problem with how the compiler handles the print buffering.

Michael

Reply to
Herman Family

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.