cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-768704%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EScorciatoia%20per%20selezionare%2Fevidenziare%20il%20nome%20della%20variabile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-768704%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EPrima%20della%20modifica%20del%20parser%20JMP16%20Name()%20per%20i%20nomi%20delle%20variabili%20(esempi%20mostrati%20di%20seguito)%2C%20la%20scorciatoia%20da%20tastiera%20Ctl%2B%20%5D%20evidenzia%2Fseleziona%20l'intero%20nome%20della%20variabile%20e%20il%20limite%20().%20Questo%20%C3%A8%20stato%20molto%20comodo%20per%20copiare%2Fincollare%20i%20nomi%20delle%20variabili%20nel%20mio%20codice%20JSL.%20Esiste%20una%20scorciatoia%20da%20tastiera%20simile%20o%20nuova%20che%20fa%20la%20stessa%20cosa%20ma%20per%20il%20nome%20della%20variabile%20appena%20costruita%3F%20Cio%C3%A8%2C%20evidenzia%2Fseleziona%20i%20nomi%20delle%20variabili%20appena%20costruiti%20racchiusi%20tra%20virgolette%20o%20virgolette%20iniziali%20e%20%22n%22%20finale%3F%20In%20assenza%20di%20una%20scorciatoia%20da%20tastiera%2C%20qualcuno%20ha%20qualche%20suggerimento%20su%20come%20eseguire%20questa%20operazione%3F%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%22taxable%20income(%202011%20)%22n%20%3D%20456000%3B%0Atax%20%3D%20.25%3B%0APrint(%20tax%20*%20%22taxable%20income(%202011%20)%22n)%20%3B%0A%2F%2F114000%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22terapin_1-1719423985775.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22terapin_1-1719423985775.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22terapin_1-1719423985775.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F65594i3C541DBB0F77F43D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22terapin_1-1719423985775.png%22%20alt%3D%22terapin_1-1719423985775.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-768704%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efinestre%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-769685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERi%3A%20Scorciatoia%20per%20selezionare%2Fevidenziare%20il%20nome%20della%20variabile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-769685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ENon%20penso%20che%20questo%20sia%20possibile.%20Potresti%20creare%20un%20elemento%20della%20lista%20dei%20desideri%20per%20questo.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EGeneralmente%20non%20uso%20nomi%20di%20variabili%20del%20genere%2C%20ma%20per%20rendere%20la%20selezione%20un%20po'%20pi%C3%B9%20veloce%20puoi%20usare%20la%20combinazione%20di%20Ctrl%2BShift%2BFreccia%20sinistra%2Fdestra%20(e%20Shift%20%2B%20Fine%2FHome%20%2B%20Ctrl%20%2B%20Freccia%20sinistra%2Fdestra).%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
terapin
Level VI

Shortcut to select/highlight variable name

Before the JMP16 Name() parser change for variable names (examples shown below), the Ctl+ ] keyboard shortcut would highlight/select the entire variable name and the bounding ().  This was very convenient for copying/pasting variable names in my JSL code.  Does a similar or new keyboard shortcut exist that does the same thing but for the newly constructed variable name?  That is, highlight/select the newly constructed variable names bounded by either the quotes or the leading quote and trailing "n?  In the absence of a keyboard shortcut, does anyone have any suggestions for how to accomplish this?

 

"taxable income( 2011 )"n = 456000;
tax = .25;
Print( tax * "taxable income( 2011 )"n) ;
//114000

 

 

terapin_1-1719423985775.png

 

1 REPLY 1
jthi
Super User

Re: Shortcut to select/highlight variable name

I don't think this is possible. You could create a wish list item for this. 

 

I don't generally use variable names like that but to make the selection a bit faster you can use combination of Ctrl+Shift+Left/Right arrow (and Shift + End/Home + Ctrl + Left/Right Arrow).

-Jarmo

Recommended Articles