|
|
Nope that's not it, but I see what you mean.
Is there any way to read each line in the text file then move on to the next
frame and read the next line?? Well, I know there is- I just can't remember it.
I want to read each comma separated variable as in the line. Right now, there
are three (a vector):
#fopen MyFile "c:\filename.txt" read
#while (defined(MyFile))
#read (MyFile, Var1, Var2, Var3 )
#end
I thought that is what I was doing above in line 3. Read File, Variable1, etc...
But it doesn't seem to work right.
BTW, I am using the Beta 3.7 (for the SMP which is very nice on my new
Core2Quad!)
audioguytodd
"StephenS" <nomail@nomail> wrote:
> "audioguytodd" <aud### [at] bellsouthnet> wrote:
> ....
> > The text file Filename just has three comma separated variables:
> >
> > 0, 0, 0
> > 0, 0, 0
> > 0, 0, 0
> > -12, -18, 0
> >
> ....
> Your third and fourth variable is separated by a 'new line', not a comma.
> Try:
> 0, 0, 0,
> 0, 0, 0,
> 0, 0, 0,
> -12, -18, 0
>
> StephenS
Post a reply to this message
|
|