Script line limitations

Hi,
During script running in AC2002 (+ third party application) very long
script lines are not processed correctly.
It seems to me that these particular long lines are truncated at the
commandline to exactly 256 characters.
Needless to say this results in error messages en faulty operations.
The purpose is to attach a string value to variable "%STS_AssyOmk"
within model MAIN#1
OriginalScriptLine :
(3rdPartyCalcuSet "MAIN" "1" "%STS_AssyOmk" "(list (list 1 800 1
857101)(list 2 2000 1 857102)(list 3 2000 1 857106)(list 4 2000 -1
8571032)(list 2 2000 1 857102)(list 3 2000 1 857103)(list 2 2000 -1
857102)(list 4 2000 -1 8571030)(list 3 2000 1 857107)(list 5 1740 -1
8571039))" nil)
CommandLineResult :
(3rdPartyCalcuSet "MAIN" "1" "%STS_AssyOmk" "(list (list 1 800 1
857101)(list 2 2000 1 857102)(list 3 2000 1 857106)(list 4 2000 -1
8571032)(list 2 2000 1 857102)(list 3 2000 1 857103)(list 2 2000 -1
857102)(list 4 2000 -1 8571030)(list 3 2000 1 857107)(li
When replacing the 3rd party command with standard lisp "setq" the
result is unfortunately the same.
Q: Is this a known limitation within scripting ?
Q: Is there a work-a-round for it ?
thnx in advance & grtz
E. Wijbrandts
Reply to
E. Wijbrandts
Loading thread data ...
does a + continue a line?
Bob
Reply to
<castlebravo242
Hi,
Problem solved. I wrote a Lisp for checking .scr-files. Truncating lines with length > 256 characters to lines with length =3D approximately 64 characters did the trick.
grtz Erik
Reply to
E. Wijbrandts
Hi,
Problem solved. I wrote a Lisp for checking .scr-files. Truncating lines with length > 256 characters to lines with length =3D approximately 64 characters did the trick.
grtz Erik
Reply to
E. Wijbrandts

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.