There are many different BASIC's, but the one I used in the late 1970's
had string variables - you just put a $ at the end of the variable name.
And yes, you could pass parameters and use variables in the OPEN
statement, but we hadn't yet learned how to do that in class. So we
hard-coded.
On 1/7/2022 9:02 AM, Paul Gilmartin wrote:
On Thu, 6 Jan 2022 21:13:16 -0800, Tom Brennan wrote:
...
Maybe a bigger issue is with non-mainframe folks wondering why JCL is
there in the first place. I started with microcomputers, programming
things in BASIC where we were told to hard-code full filenames in the
program itself. Already I could see how silly that would be in
production, having to change the source code just to work with different
files.
Does BASIC not support variables as filenames? (I'm BASIC-naive.
Does BASIC have a string data type?)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN