|
MakeFile | ||
MakeFile Filename$, Size | ||
Parameters: Filename$ = The Filename of the file you wish to create Size = The size in byte of the file |
||
Returns: NONE | ||
MakeFile will create a blank file. The file will contain only zeroed bytes. This only really useful when you need random file access. FACTS: * Before you use MakeFile, always check if the filename (of the file your about to create) already exists previously. If you try and overwrite a file that already exists, PB will return a run time error. Mini Tutorial: This example will create a blank file on the C: Drive called "TestFile.txt" , it then displays the info about this file and then removes itself.
This example would output.
|
Related Info: | : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |