Arbitrary text files? Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Arbitrary text files? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Bernd Vosseler (bernd)
Member
Username: bernd

Post Number: 8
Registered: 02-2006
Posted on Monday, January 08, 2007 - 03:47 am:   

Hello Robert,

I wish there were a command to open a textfile from a running simulation (e.g. in the PLOTS- or MONITOR-section), to be able to write some simulation parameters and calculated numbers into them.

I know, I could make use of REPORT and the .dbg-file to somehow store these values, but they are easiest to access, if I could just generate a textfile and append lines to it.

Would this be an idea for one of the next versions?

Best Regards,
Bernd
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 728
Registered: 06-2003
Posted on Monday, January 08, 2007 - 02:59 pm:   

The SUMMARY page was intended to serve this purpose. You can write a reasonable amount of information to the SUMMARY page using REPORT statements. You can then EXPORT the SUMMARY to a text file.

PLOTS
SUMMARY("Summary Title") EXPORT FILE="filename.txt"
REPORT(thing1) as "Report Thing 1"
REPORT(thing2) as "Report Thing 2"
{...etc}
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 729
Registered: 06-2003
Posted on Monday, January 08, 2007 - 03:03 pm:   

PS
See "Samples | Misc | 3d_Integrals.pde" for an example of a fairly large SUMMARY page.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration