In the GUI, all JavaScript functions which are defined for a given SPS in the JavaScript Editor are listed in the Design Tree window under the Scripts entry (screenshot below).
Todas las funciones JavaScript definidas para un diseño SPS en el editor de JavaScript aparecen en la ventana Estructura del diseño, en la lista Scripts.
How to define functions in the JavaScript Editor is described in the sub-section Defining JavaScript Functions.
El apartado Definir funciones JavaScript explica cómo crear las funciones en el editor de JavaScript de StyleVision.
By adding a script in the Javascript Editor that accesses the external file.
Creando un script en el editor de JavaScript que accede al archivo externo.
In the JavaScript Editor, type in the function definitions (see screenshot below).
En el editor de JavaScript escriba las definiciones de función (imagen siguiente).
The code in the JavaScript Editor is written as follows
Select Custom Calculation Script, click Edit, and then enter your custom JavaScript code in the JavaScript Editor dialog box.
Seleccione Secuencia de comandos de cálculo personalizada, haga clic en Editar, e introduzca el código JavaScript personalizado en el cuadro de diálogo Editor JavaScript.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.