Hello, my friends. I'm doing a program in BASIC that generates a BASIC code. I would like to know if it is possible to save that generated code. For example, the program generates the following lines:
10 cls 20 print "hello world!"
So:
1. I would like to save these two lines to a file called "hello.bas". Is it possible?
2. By the way, is there a way to check, using BASIC, the existence of a file? Something like the PHP "if (file_exists($filename))".
Best.
Aangemeld of registreer om reacties te plaatsen