IloOplOutputString
See the Overview for a general presentation of the ILOG Script extensions for OPL.
execute {
var str = new IloOplOutputString();
with (str) {
writeln("Hello World");
}
writeln("str = ",str.getString());
}| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| flow control |
Returns the content of the output string.
|
| flow control |
write(text, textN)
Writes a string to the output string.
|
| flow control |
writeln(text, textN)
Writes one line to the output string.
|