Scripting Guide > JSL Building Blocks > Inquiry Functions in JSL
발행일 : 03/10/2025

Inquiry Functions in JSL

Inquiry functions identify the type of an element, such as a string, list, or matrix. You can then write a script specific to that element type.

JMP also uses inquiry functions to determine the writability of a directory or file and to identify a computer’s operating system and the JMP version.

General Element Types

The Type() function returns a string naming the type of the resulting value. For example:

Show( Type( 1 ), Type( "hi" ), Type( {"a", 2} ), Type( [10 24 325] ) );

results in:

Type(1) = "Integer"

Type("hi") = "String"

Type({"a", 2}) = "List"

Type([10 24 325]) = "Matrix";

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