**# Show current DIR like PWD:**
SHOW DEFAULT
**# Change DIR [000000] is the root of system**
SET DEFAULT DKA0:[directory]
**# Create directory**
CREATE/DIRECTORY DUA0:[MYDIR]
DIR & SUB \\
CREATE/DIRECTORY DUA0:[MYDIR.SUBDIR]
**# List directory**
DIR
**# Run Basic:**
BASIC
CTRL-Z to exit
To save a program (Do this from within the basic interpreter)
SAVE PROGRAM.BAS
To load a program (Do this from within the basic interpreter)
OLD PROGRAM.BAS
**# Programming** \\
Fix a file copied in from a modern computer \\
$ SET FILE /ATTRIBUTES=(RFM:STMLF) filename
EDIT /EDT filename.c
CC FILENAME.C
LINK FILENAME
RUN FILENAME.EXE
Enter a simple helloworld:
CREATE HELLO.C
#include
int main() {
printf("Hello, VAX!\n");
return 0;
}
For fortran
FORTRAN FORTRANFILE.FOR
Link and run same as c
**# Games**
ADVENTURE
NETHACK
More to come....