I have about twenty JSL scripts that need to be able to run on PCs around the world. To date I've had no difficulty running them anywhere, including Germany and Japan; however I've recently hit problems in France. I initially tried running them on French installations of both JMP 8 and JMP 9, and assumed - I think correctly - that the problem was simply that some of the functions were returning French text as opposed to English text. However, I have now tried installing JMP from an English installation file, selecting only English language options, on one of these machines, and have hit the same problem again.
The following few lines of script illustrate what's happening, in a situation where I'm loading a column of names and at least one numeric variable from one of the build-in data sets, and then want to test to see if I've pressed the "Proceed" button:
open("$SAMPLE_DATA/Big Class.jmp");
VarList = ColumnDialog(Title("Select Raw Data Columns:"),
Rfac = ColList("Name ID", Max Col(1)),
Yvar = ColList("Variable(s)", Min Col(1), DataType(Numeric))
);
Proceed = char(VarList[nItems(VarList)]);
show(Proceed);
if(Proceed=="Button(1)",
ResponseList = VarList["Yvar"];
show(ResponseList)
);
However, when the user does press the Proceed button, what is returned isn't "Button(1)" but "Bouton(1)" - obviously because "bouton" is French for "button". Now, obviously I could just find all instances of this sort of problem and allow for both possibilities, but (a) I don't know how many problems of a similar nature I'm likely to encounter, and (b) I don't know whether I'm going to hit the same problem again on PCs in any other country.
So, I need to prevent JMP returning French responses, even when the installation is carried out entirely in English. Does anyone know how I can do that?
Many thanks