... | @@ -77,7 +77,7 @@ EndIf |
... | @@ -77,7 +77,7 @@ EndIf |
|
```cpp
|
|
```cpp
|
|
DefineConstant [
|
|
DefineConstant [
|
|
n = {3.14, Name "a number", <attributes...>},
|
|
n = {3.14, Name "a number", <attributes...>},
|
|
s = {"hello", Name "a string", <attributes>}
|
|
s = {"hello", Name "a string", <attributes...>}
|
|
];
|
|
];
|
|
```
|
|
```
|
|
As with `DefineNumber` and `DefineString`, if a ONELAB server does not exists the `DefineConstant` command simply assigns the default values to the local variables.
|
|
As with `DefineNumber` and `DefineString`, if a ONELAB server does not exists the `DefineConstant` command simply assigns the default values to the local variables.
|
... | | ... | |