Fill an array from an (unreferenced) list?

liwenna liwenna at gmail.com
Thu Feb 3 10:54:25 UTC 2011


If I remember correctly the number is simply a denominator for 'the
input' ...

so... in the above example I needed 3 different .txt files to be put
into 3 different arrays... (one with positive words, one negative and
one neutral). I'll check for you tomorrow but if I remember correctly
I repeated the script three times but used input#1, input#2 and
input#3. That would make the number just 'a name' given to that input
function.

"the file referenced by filenumber"  would then refer to this line in
the above code: Open "YOURFILE.txt" For Input As #1

On Feb 2, 8:21 pm, "Caleb J. Picker" <dbzgtfan4e... at gmail.com> wrote:
> Hello,
>
> I have a question. I looked in the e-basic help and it says that the
> Input[#] function does this:
>
> Reads data from the file referenced by filenumber into the given variables.
>
> Why is it the case that when you type '...For Input as #1' that his
> necessarily reads one line at a time. What I am saying is, I do not
> understand this function. What does the Input [#] function really mean? If I
> were to change the '1' value to '2', would this input every other line?
> Would inputting a large integer value read every nth value of that integer?
>
> Thanks in advance.
>
> Caleb

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list