lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,
 
I have found the following LUA-script, but I do not understand the commands "w" and "\n". I use this script to get the B-values of a FEMM 3.1-plot. Can anyone tell me what these commands are? Thank you very much.
 
E-J Borkent
 
--------------------------
handle=openfile("values_2.txt","w")

for r=5,10,20 do

    for z=5,10,20 do

        B1re = getpointvalues(r,z)

        write(handle,B1re)

    end

    write(handle,"\n")

end

closefile(handle)