Scripting Guide > Scripting Tools > Work with the Script Editor > Type in Multiple Rows at Once
발행일 : 03/10/2025

Type in Multiple Rows at Once

When you edit a script, you can type in multiple rows at once instead of manually updating the same code on multiple lines. For example, in the following script, you want to change the s variable to aString. You can easily change the first instance of s to aString. To change the other instances at once, hold down Alt and select the column of s variables. Type aString once.

s = "";
For( i = 1, i <= n, i++,
	s += "Hello";
	s += "Number";
	s += Char( i );
);

The script then looks like this:

aString = "";
For( i = 1, i <= n, i++,
	aString += "Hello";
	aString += "Number";
	aString += Char( i );
);

Note: You can type in multiple rows at once, but you can type only in the same column. In the preceding example, the s variables are in the same column.

더 많은 정보를 원하십니까? 질문이 있습니까? JMP 사용자 커뮤니티에서 답변 받기 (community.jmp.com).