I know this question is asked a lot, but I looked at those answers and don't see an obvious place where that would apply to my post. I'm trying to post the following to Stack Overflow, but it won't let me because of the "appears to have code" error. I've tried every way to mark code (4 spaces; 4 backticks; backtick escapes.
What is it thinking? Is it code that isn't formatted?
Here's what I'm trying to post:
Woolf & Preising (2005; Behavior Research Methods volume 37, 48–58) published a program to run a Schmid-Leiman transformation using SPSS's Matrix language. (It is probably not important for you to know what a Schmid-Leiman transformation is, but I'll explain in comments if you feel it is necessary).
In modifying the program for my own data, I'm getting an error I can't figure out:
>Error # 12302 in column 12. Text: ,
>Syntax error.
>Execution of this command stops.
>Error in RIGHT HAND SIDE of COMPUTE command.
>
> The MATRIX statement skipped.
Here is the beginning of the code. The error is showing as coming in Line 6:
````
* Encoding: UTF-8.
* Schmid-Leiman Solution for 2 level higher-order Factor analysis.
Matrix.
* ENTER YOUR SPECIFICATIONS HERE.
* Enter first-order pattern matrix.
Compute F1={.461, .253, -.058, -.069;
.241, .600, .143, .033;
.582, .047, -.077, -.125;
.327, .297, -.120, -.166;
.176, .448, -.240, -.099;
.680, .069, -.036, -.138;
.415, .228, -.091, -.153;
.
.
.
.390, .205, .002, -.098;
.164, .369, -.170, -.047
}.
````
As shown above, the text generating the error is shown as a comma (,), but the actual text (following the COMPUTE statement) in column 12 is an open bracket ({). So I have no idea what is going on. Can someone help?
For reference, the original code as proposed by Woolf & Preising (2005) is at
`<https://static-content.springer.com/esm/art%3A10.3758%2FBF03206397/MediaObject/13428_2011_BF03206397_MOESM1_ESM.zip>`
The Woolf & Preising article is at
` <https://link.springer.com/article/10.3758/BF03206397>`
Thanks,
Steve
PS: The sample program given in the link above does run on my copy of SPSS. Here's the beginning of that code:
````
* Schmid-Leiman Solution for 2 level higher-order Factor analysis.
Matrix.
* ENTER YOUR SPECIFICATIONS HERE.
* Enter first-order pattern matrix.
Compute F1={0.099, 0.5647, -0.1521;
0.0124, 0.9419, -0.1535;
-0.1501, 0.6177, 0.4218;
0.7441, -0.0882, 0.1425;
0.6241, 0.2793, -0.1137;
0.8693, -0.0331, 0.0289;
-0.0154, -0.2706, 0.6262;
-0.0914, 0.0995, 0.7216;
0.1502, 0.0835, 0.398}.
````
[Text for the link](https://example.com)
should work better<code> ... <\code>
section here might be the better choice.ENTER YOUR SPECIFICATIONS HERE
could trigger something (from either caps or wording). Lots of numbers in succession there as well, which could trigger something else. Most likely a combination of the above.