Note that the comma in assignments such as the var statement may appear not to have the normal effect of comma operators because they don't exist within an expression.
Zu Beachten ist, dass das Komma in Zuweisungen, wie etwa bei der var Deklaration, nicht den erwarteten Effekt des Kommaoperators zu haben scheint, da Zuweisungen nicht in einem Ausdruck existieren.
Make sure to use the var statement in CFScript UDFs to declare all function-specific variables, such as loop indexes and temporary variables that are required only for the duration of the function call.
Stellen Sie sicher, dass die var-Anweisung in benutzerdefinierten CFScript-Funktionen zum Deklarieren aller funktionsspezifischen Variablen verwendet wird, z. B. Schleifenindizes und temporäre Variablen, die nur für die Dauer des Funktionsaufrufs benötigt werden.
In general, use the var statement to declare all UDF variables, other than the function arguments or shared-scope variables, that you use only inside CFScript functions.
Verwenden Sie im Allgemeinen die Anweisung var zum Deklarieren aller benutzerdefinierten Variablen, die ausschließlich innerhalb von CFScript-Funktionen eingesetzt werden und nicht für Funktionsargumente oder Variablen mit gemeinsamen genutzten Gültigkeitsbereichen.
Creating a variable named MyGlobalFunction without using the var statement places the variable in the top scope. Thus, the variable is global.
Wenn eine Variable mit dem Namen MyGlobalFunction erstellt wird, ohne die var-Anweisung zu verwenden, wird die Variable im obersten Bereich Variable gilt dann global.
If your script contains a runtime error in a VAR statement, for example VAR arr[100/n%]; and n% is 0, the error is now reported on the correct line.
Wenn Ihr Skript einen Laufzeitfehler in einer VAR Aussage enthält, z. B. VAR arr[100/n%]; und n% ist 0, dann wird der Fehler jetzt in der richtigen Zeile gemeldet.
JavaScript statements (for example, var, if... else, while, switch, and so on) begin with lowercase letters. The script Var StringName = "John Smith" fails because Var is capitalized.
JavaScript-Anweisungen (z.B. var, if... else, while, switch usw.) beginnen mit Kleinbuchstaben. Das Skript Var StringName = "John Smith" erzeugt einen Fehler, weil Var mit einem Großbuchstaben geschrieben ist.
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.
No results found for this meaning.
Synonyms and analogies of "JavaScript var statement" in English