-
Notifications
You must be signed in to change notification settings - Fork 2
Output
Mostafa Asgari edited this page Mar 15, 2017
·
3 revisions
In EasyGen you can send generated output to a File or Console(standard output).To do that you can use pre built functions that EasyGen provides for you.
display the generated data in the console
parameters :
- expression is any valid EasyGen expression
Writes the generated data to a file.If file already exist, it will throw an exception.
parameters :
- expression is any valid EasyGen expression
- path the output file path
Writes the generated data to a file.This is another overload of FILE function.You can control the append behavior in this overload.If append is false and file already exist, it will throw an exception.
parameters :
- expression is any valid EasyGen expression
- path the output file path
- append if true, the generated data will be append to the file
Send the generated data to a socket.
parameters :
- expression is any valid EasyGen expression
- host:port is the socket address.For example to send data to localhost on port 9850 you should write localhost:9850