Number of variables to export in a file Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Number of variables to export in a file « Previous Next »

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

Jens Baumann (max)
New member
Username: max

Post Number: 2
Registered: 07-2004
Posted on Thursday, October 21, 2004 - 10:38 am:   

Hallo,

We use FlexPDE 3.10a. The help says about the EXPORT FORMAT "string":
#1 ... #9 will print the value of the corresponding element of the plot function list.

I tried to export more then 9 variables to a file using for instance:
#x#b#1#b#2#b#3#b#4#b#5#b#6#b#7#b#8#b#9#b#10#b#11
However,the result was:
#x#b#1#b#2#b#3#b#4#b#5#b#6#b#7#b#8#b#9#b#1#b#1
(All variables after the ninth row have the same value. And this value is always that of the first row.)

If an export is performed without the FORMAT "String" the export owrks right and this does not happen and the number of variables seems to be unlimited.

Does that mean that the number of exported variables (per command: EXPORT FORMAT) is limited to maximum 9 variables in this curious way?
...and the user gets no error code or information when exporting ten or more variables?

Thanks for helping.
Jens
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 237
Registered: 06-2003
Posted on Thursday, October 21, 2004 - 01:00 pm:   

The format decoder is very simple-minded. Only #1 to #9 can be explicitly addressed.
But you can use #r and #i to repeat a form indefinitely, to export as many values as you want.
Your output format would then be
#x#r#b#i
This will print the value of x followed by a tab-delimited list of any number of values.

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