Files < Viivi I/O Targets < Viivi's Cell < Entrance
A file name is specified by a unique string enclosed with the double quotations " ":
File Name Format: "FILENAME"
[Examples of Input File Names]
"sample.scm" Common for All Platforms
"tests/factorial.scm" for Unix Platforms
"/opt/slib/fft.scm" for Unix Platforms
"..\math\libtest\math\matrixLib.scm" for Windows Platforms
[Examples of Output File Names]
"results.txt" Common for All Platforms
"out/experiment.data" for Unix Platforms
"/home/ilma/nnLearn/deep4xor.out" for Unix Platforms
"D:\Users\pippi\analyzed.out" for Windows Platforms
Thanks to the intervention of the JVM, a slash character '/' can be used in place of a backslash character '\' as the path-separator on the Windows platforms as well.
[Examples of Input File Names using path-separator '/' on the Windows Platforms]
"../math/libtest/math/matrixLib.scm"
"D:/Users/pippi/analyzed.data"
Names of the I/O-ports created from files contain the given unique file names:
#<input-port:"FILENAME">
#<output-port:"FILENAME">
[File Names] [the Corresponding I/O-Ports]
"factorial.scm" #<input-port:"factorial.scm">
"outDir/experiment.out" #<output-port:"outDir/experiment.out">
#<input-port-window:"FILENAME">
#<output-port-window:"FILENAME">
[File Names] [the Corresponding I/O-Port Windows]
"factorial.scm" #<input-port-window:"factorial.scm">
"outDir/experiment.out" #<output-port-window:"outDir/experiment.out">
Files < Viivi I/O Targets < Viivi's Cell < Entrance
Exhibited on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.