<html>
<body>
<br>
ListFileName,BlockNumber,LastValue are all attributes. maybe just write
them to text file as seperate lines. you'll get 6 lines (strings). then
just read in lines 3 and 6 when you start exp-2. Or if you want to know
in exp-2 which lastvalues came from which list and which block in exp-1,
read all lines into an array and set the attributes from the
array.<br><br>
<br>
At 09:30 PM 11/02/2009, you wrote:<br><br>
<blockquote type=cite class=cite cite="">Ok, Tanks for the
suggestions.<br><br>
So so lets say the list from my orignal experiment is 120 rows long and
could be from any one of 60 different lists. I need the LastValue
from two of those (at random).<br><br>
At the end of experiment 1 I pick at random 2 rows from the list, and
write a text file containing:<br><br>
ListFileName,BlockNumber,LastValue<br>
ListFileName,BlockNumber,LastValue<br><br>
And later on will just read this text file rather than the log
file.<br><br>
Is see the Input commands loads the contents of the file into a
string. Then what? with e-basic how do I find the two
LastValues in said string? Other languages I have used have
functions built in that would directly take a comma dileminated file and
place it in a 2 dimensional array, where I could then just read
array(0,2) and (1,2). I hae not come across anything in e-basic
that might accomplish this, only the input command which looks like it
just will read a cartin number of bytes into a string. Let's assume
that ListFileName and BlockNumber cab be a variable length, which will
change the relative positions of LastValue in the file.<br><br>
Thoughts?<br><br>
Thanks,<br>
Greg<br><br>
On Wed, Feb 11, 2009 at 4:43 AM, David P Vinson
<<a href="mailto:d.vinson@ucl.ac.uk">d.vinson@ucl.ac.uk</a>>
wrote:<br>
<dl><br>
<dd>(oops, sorry!)<br>
<dd>I missed "existing log file from previous experiment" in
the previous<br>
<dd>email I sent. Of course my suggestion only works if you haven't yet
run<br>
<dd>the first experiment.<br><br>
<br><br>
</dl><br><br>
<br><br>
No virus found in this incoming message.<br>
Checked by AVG. <br>
Version: 7.5.552 / Virus Database: 270.10.20/1943 - Release Date:
10/02/2009 7:20 AM</blockquote><br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group. <br> To post to this group, send email to e-prime@googlegroups.com <br> To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/e-prime?hl=en<br>
-~----------~----~----~----~------~----~------~--~---<br>
</body>
</html>
<br>