어떻게 메모리 변수에서 직접 일치하는 데이터를 얻을 수 있습니까?메모리 변수에서 직접 "높이"데이터와 일치하는 name = "JOHN"을 얻는 방법 "
감사!
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
na="JOHN";//How can get matching "height" data directly from memory variables
hei=Update(With(dt),Match Columns(:name=na),Add Columns from Update table(:height));
스크립팅Re : 어떻게 메모리 변수에서 직접 일치하는 데이터를 얻을 수 있습니까?다음은 한 가지 방법입니다.
names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
vals=Associative Array(dt:name,dt:height);
hei=vals<<GETVALUE></GETVALUE>Re : 어떻게 메모리 변수에서 직접 일치하는 데이터를 얻을 수 있습니까?원래 방법 :
r = Contains( :name[Index( 1, N Row( dt ) )], na );
hei = dt[r, "height"];