From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 1: Line 1:
The language uses the implicit definition of local variables, which is to define a new variable in the case of assigning a value to it. This type of local variable is set according to the type of the assigning value. For example, the expression '''Qr=Q0*Pi+0.01;''' will define '''Qr''' variable with the type of variable '''Q0'''.
+
The language uses the implicit definition of local variables, which is to define a new variable in the case of assigning a value to it. This type of local variable is set according to the type of the assigning value. For example, the expression '''Qr=Q0*Pi+0.01;''' will define '''Qr''' variable with the type of variable '''Q0'''. And with implementing the built-in functions, there also appended the statement "var" for defining the variable in the function scope instead global one.

Revision as of 23:46, 24 March 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Modules/JavaLikeCalc)
The language uses the implicit definition of local variables, which is to define a new variable in the case of assigning a value to it. This type of local variable is set according to the type of the assigning value. For example, the expression '''Qr=Q0*Pi+0.01;''' will define '''Qr''' variable with the type of variable '''Q0'''. And with implementing the built-in functions, there also added the statement '''var''' for defining the variables in the function scope instead global one.
TranslationThe language uses the implicit definition of local variables, which is to define a new variable in the case of assigning a value to it. This type of local variable is set according to the type of the assigning value. For example, the expression '''Qr=Q0*Pi+0.01;''' will define '''Qr''' variable with the type of variable '''Q0'''. And with implementing the built-in functions, there also appended the statement "var" for defining the variable in the function scope instead global one.

The language uses the implicit definition of local variables, which is to define a new variable in the case of assigning a value to it. This type of local variable is set according to the type of the assigning value. For example, the expression Qr=Q0*Pi+0.01; will define Qr variable with the type of variable Q0. And with implementing the built-in functions, there also appended the statement "var" for defining the variable in the function scope instead global one.