Saturday, 2 October 2004
VB6 FreeFile()
»::Kunama::«
whatis #intFreeFile ?
q=-) -=Net147=- q=-)
intFreeFile is an Integer type variable
it holds a file pointer
q=-) -=Net147=- q=-)
FreeFile() assigns an unused file pointer
you can only have one file per file pointer
intFreeFile = FreeFile()
»::Kunama::«
so you could also do intFile1 = FreeFile() ?
q=-) -=Net147=- q=-)
if you want
if intFile1 is a variable
»::Kunama::«
hence many simultaneous files. *nods to self*
q=-) -=Net147=- q=-)
yes
but FreeFile() can't just be done one after the other
like
intFreeFile1 = FreeFile()
intFreeFile2 = FreeFile()
intFreeFile3 = FreeFile()
will crash
»::Kunama::« thinks to self
w00t, chaos! *rolls around laughing somewhat hysterically* br>
whatis #intFreeFile ?
q=-) -=Net147=- q=-)
intFreeFile is an Integer type variable
it holds a file pointer
q=-) -=Net147=- q=-)
FreeFile() assigns an unused file pointer
you can only have one file per file pointer
intFreeFile = FreeFile()
»::Kunama::«
so you could also do intFile1 = FreeFile() ?
q=-) -=Net147=- q=-)
if you want
if intFile1 is a variable
»::Kunama::«
hence many simultaneous files. *nods to self*
q=-) -=Net147=- q=-)
yes
but FreeFile() can't just be done one after the other
like
intFreeFile1 = FreeFile()
intFreeFile2 = FreeFile()
intFreeFile3 = FreeFile()
will crash
»::Kunama::« thinks to self
w00t, chaos! *rolls around laughing somewhat hysterically* br>