cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-798320%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Edt%20%26lt%3B%26lt%3B%20Tabellenvariablen%20l%C3%B6schen()%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798320%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3EWas%20hat%20Sie%20zu%20dieser%20Wunschliste%20inspiriert%3F%3C%2FSTRONG%3E%3CEM%3EBeschreiben%20Sie%20bitte%20das%20aktuelle%20Problem%2C%20das%20verbessert%20werden%20muss%2C%20oder%20das%20zu%20l%C3%B6sende%20Problem%2C%20das%20derzeit%20nicht%20einfach%20oder%20m%C3%B6glich%20ist%2C%20anhand%20eines%20Anwendungsbeispiels.%3C%2FEM%3E%3C%2FP%3E%3CP%3EEs%20gibt%20in%20JSL%20eine%20Option%20zum%20L%C3%B6schen%20von%20Tabellenskripten%20(Plural)%2C%20jedoch%20nicht%20zum%20L%C3%B6schen%20von%20Tabellenvariablen.%20Bitte%20machen%20Sie%20diese%20Funktion%20ebenfalls%20plural%20und%20akzeptieren%20Sie%20entweder%20eine%20einzelne%20Variable%20oder%20ein%20Array.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSTRONG%3EWelche%20Verbesserung%20w%C3%BCrden%20Sie%20gerne%20sehen%3F%3C%2FSTRONG%3E%3CEM%3EBitte%20beschreiben%20Sie%20die%20Idee%20zur%20Verbesserung%20von%20JMP.%20Bitte%20f%C3%BCgen%20Sie%20Modelle%2C%20Wireframes%2C%20Screenshots%2C%20Skripte%2C%20andere%20Dokumente%20oder%20Beispiele%20aus%20anderer%20Software%20bei%2C%20die%20die%20gew%C3%BCnschte%20%C3%84nderung%20besser%20beschreiben.%3C%2FEM%3E%3C%2FP%3E%3CP%3EFunktion%20in%20JSL%20f%C3%BCr%20%E2%80%9Edt%20%26lt%3B%26lt%3B%20Delete%20Table%20Variables()%E2%80%9C%20hinzuf%C3%BCgen%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSTRONG%3EWarum%20ist%20diese%20Idee%20wichtig%3F%3C%2FSTRONG%3E%3CEM%3EBeschreiben%20Sie%20bitte%20den%20Mehrwert%20f%C3%BCr%20Sie%20und%2Foder%20andere%20Benutzer%2C%20wenn%20die%20Idee%20umgesetzt%20wird%20(z.%20B.%20Benutzerfreundlichkeit%2C%20Must-have%2C%20%E2%80%A6).%3C%2FEM%3E%3C%2FP%3E%3CP%3EStandardisieren%20Sie%20JSL-Funktionen%2C%20um%20die%20Geschwindigkeit%2C%20Lesbarkeit%20und%20Qualit%C3%A4t%20der%20Softwareentwicklung%20zu%20verbessern.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-798320%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798352%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EBetreff%3A%20dt%20%26lt%3B%26lt%3B%20Tabellenvariablen%20l%C3%B6schen()%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798352%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EW%C3%A4hrend%20Sie%20auf%20Kudos%20warten%2C%20k%C3%B6nnen%20Sie%20dieses%20Skript%20verwenden%20%E2%80%93%20es%20beispielsweise%20zu%20einer%20Symbolleiste%20hinzuf%C3%BCgen%20oder%20mit%20einer%20Tastenkombination%20verkn%C3%BCpfen%20%E2%80%A6%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0Aremove%20Table%20Variables%20%3D%20Function(%20%7B%7D%2C%0A%09%7Bdefault%20local%7D%2C%0A%09tableVariableNames%20%3D%20current%20data%20table()%20%26lt%3B%26lt%3B%20Get%20Table%20Variable%20Names%3B%0A%09For%20Each(%20%7Bvariable%7D%2C%20tableVariableNames%2C%20current%20data%20table()%20%20%26lt%3B%26lt%3B%20Delete%20Table%20Variable(%20variable%20)%20)%3B%0A)%3B%0A%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FBig%20Class.jmp%22%20)%3B%0Adt%20%26lt%3B%26lt%3B%20New%20Table%20Variable(%20%22x%22%2C%205%20)%3B%0Adt%20%26lt%3B%26lt%3B%20New%20Table%20Variable(%20%22text%22%2C%20%22hello%22%20)%3B%0A%0Await(2)%3B%0A%0Aremove%20Table%20Variables()%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800463%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20dt%20%26lt%3B%26lt%3B%20Tabellenvariablen%20l%C3%B6schen()%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800463%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Egerade%20erfahren%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%26lt%3B%26lt%3B%20Get%20Table%20Variable%20Names%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3B%20)%3CBR%20%2F%3E%20-%26gt%3B%20jetzt%20viel%20gek%C3%BCrzter%20Code%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Acara_con_una_leve_sonrisa%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-802074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20dt%20%26lt%3B%26lt%3B%20Delete%20Table%20Variables()%20-%20Status%20ge%C3%A4ndert%20in%3A%20Best%C3%A4tigt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-802074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EVielen%20Dank%2C%20dass%20Sie%20diese%20Idee%20mit%20uns%20teilen!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
0 Kudos

dt << Delete Table Variables()

What inspired this wish list request? Please describe the current issue that needs improvement or the problem to be solved that is not easy or possible right now, with an example use case. 

There is an option in JSL to delete table scripts (plural) but not for deleting table variables. Please make this function plural as well, and accept either a single variable or an array.

 

What is the improvement you would like to see? Please describe the idea for improving JMP. Please include mock-ups, wireframes, screenshots, scripts, other documents or examples from other software that help describe the change you would like to see. 

Add function in JSL for "dt << Delete Table Variables()"

 

Why is this idea important? Please describe the value to you and/or other users if the idea is implemented (for example, ease of use, must have,…).

Standardize JSL functions to improve software development speed, readability, and quality.

 

3 Comments
hogi
Level XII

While waiting for Kudos, you could use this script - maybe add it to a toolbar or link it to a Keybord Shortcut ...

Names Default To Here( 1 );

remove Table Variables = Function( {},
	{default local},
	tableVariableNames = current data table() << Get Table Variable Names;
	For Each( {variable}, tableVariableNames, current data table()  << Delete Table Variable( variable ) );
);

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Table Variable( "x", 5 );
dt << New Table Variable( "text", "hello" );

wait(2);

remove Table Variables();
hogi
Level XII

just learned about 

<< Get Table Variable Names;

; )
-> much shorted code now

Status changed to: Acknowledged

Thank you for sharing this idea!