EGL: Sending the generated text to an output file [message #1720069] |
Thu, 14 January 2016 08:55 |
Alireza Rouhi Messages: 148 Registered: December 2015 |
Senior Member |
|
|
Hi,
I have a problem with the generation of an output file from the EGL generated text.
When I choose the console as the target of the text generation, everything is go well. But, I want to store the generated text in an output file. So, when I choose a file named foo.txt, for example, in the launch configuration, the following message is displayed and there is nothing in my specified file as the output target!
Output generated to /.../foo.txt
Content unchanged for ...:/.../foo.txt
Have you experienced such a situation?
And one more thing,
If I had a common text which must be copied to more than one output file from an EGL text generation, how can I configure and code this situation?
I mean, how to write a code similar to the following in EGL?
if (Case 1 is satisfied) {
// generated text in Case 1
// output the text to the file1.txt
}
if (Case 2 is satisfied) {
// generated text in Case 2
// output the text to the file2.txt
}
.
.
.
if (Case m is satisfied) {
// generated text in Case m
// output the text to the file1.txt
}
if (Case n is satisfied) {
// generated text in Case n
// output the text to the file2.txt
}
.
.
.
Best regards,
Alireza
[Updated on: Thu, 14 January 2016 09:32] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03169 seconds