Re: syntax editor line length
Posted by jkpeck on
URL: http://spssx-discussion.165.s1.nabble.com/syntax-editor-line-length-tp5741113p5741115.html
This is a more complicated issue than one might expect. Syntax pasted from a dialog box is wrapped at approximately column 80, but the maximum line length in the Syntax Editor or an INSERTed file is 261 characters when it is executed. There is actually some slack with that to allow for characters that require multiple bytes. If a line exceeds the limit, it is displayed in red. There is a wrapping exception for pasted Python or R code, because the dialog system does not know where such code can be safely wrapped: it is pasted as is.
The display space in the SE depends on the font you are using and is unrelated to these limits or printed page size. The width of the SE window does not affect the wrap point.