[Jprogramming] path variable in loop

pascha amirpasha.vz at gmail.com
Mon Sep 10 15:18:59 UTC 2012


I want to include path variable for a verb which reads several files in a
loop
as an example:

path = '/home/user/file'
x=: read path,i,'.pgm'

in which "read" is the verb, "i" starts from 1 to 50  and '.pgm' is the file
extension.
so in each iteration "i" would replace with number 1-50.

is this possible in J?
-- 
View this message in context: http://old.nabble.com/path-variable-in-loop-tp34413608s24193p34413608.html
Sent from the J Programming mailing list archive at Nabble.com.



More information about the Programming mailing list