Next codes are to define local function and to call it from main function.
- def OutputFile
- infile = open("filename")
- while line = infile.gets
- print line
- end
- end
- begin
- OutputFile()
- end
This blog's themes are Computer Graphic(Especially 3DCG) , Game Development, Programming and so on. Sometimes, other themes written.
 
No comments:
Post a Comment