Im unten aufgelisteten JScript-Code wird gezeigt, wie man Dokumente öffnet, ein Dokument zum aktiven Dokument macht, durch die offenen Dokumente iteriert und Dokumente schließt.
The JScript listing below shows how to open documents, set a document as the active document, iterate through the open documents, and close documents.
Im unten aufgelisteten JScript-Code wird ein neues UModel-Projekt erstellt, einige Klassen erstellt und Code generiert.
The following JScript sample creates a new UModel project, creates some classes and generates code.
Eine objektbasierte Skriptsprache, die entfernt mit Java verwandt ist. JScript-Code wird direkt in eine HTML-Seite eingefügt.
An object-based scripting language distantly and loosely related to Java. JScript code is inserted directly into an HTML page.
Im unten aufgelisteten JScript-Code wird gezeigt, wie man Dokumente öffnet, ein Dokument zum aktiven Dokument macht, durch die offenen Dokumente iteriert und Dokumente schließt.
The JScript code listing below illustrates how to open two documents from the XMLSpy Examples folder and set one of them as the active document.
Applikation starten Mit dem unten aufgeführten JScript-Code wird die Applikation gestartet und beendet.
Beispielsweise wird durch den folgenden JScript-Code immer eine Berechtigung erteilt
For example, the following JScript always grants permission
So wird etwa mit dem nachstehenden JScript-Code ein Fehler zurückgegeben, weil ein Array falsch deklariert wurde.
For example, the JScript code listing below causes an error to be thrown by incorrectly declaring an array.
Der Microsoft JScript-Code muss die Count -Eigenschaft der Errors -Auflistung des Connection -Objekts überprüfen.
Your Microsoft JScript code must check the Count property of the Connection object's Errors collection.
Dieser Abschnitt enthält eine Liste von JScript-Code, anhand dessen die folgenden grundlegenden Funktionalitäten erläutert werden
This section contains listings of JScript code that demonstrate the following basic functionality
Eine.asp Datei ist eine normale Textdatei, die HTML Auszeichnung mit VBScript oder JScript Code und mit optionalen Verweisen auf COM/ActiveX Objekte enthält.
An.asp file is a regular text file that contains HTML markup with VBScript or JScript code inserts and optional references to COM/ActiveX objects.
Sie finden den oben aufgelisteten JScript-Code in der Beispieldatei ImportExport.js (siehe Beispieldateien).
The JScript code listed above is available in the sample file ImportExport.js (see Example Files).
Sie können auch den folgenden JScript-Code kopieren und in die Adressleiste einfügen, um eine ausführlichere Beschreibung des URL der Website zu erhalten
You can also copy the following JScript code and paste it in the Address bar for a more verbose description of the Web site URL
Der Microsoft JScript-Code muss die Count -Eigenschaft der Errors -Auflistung des Connection -Objekts überprüfen. Falls der Wert größer als 0 ist, durchlaufen Sie die Auflistung und drucken Sie die Werte wie in jeder anderen Sprache.
Your Microsoft JScript code must check the Count property of the Connection object's Errors collection. If the value is greater than 0, iterate through the collection and print the values as you would in any of the other languages.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.