User Tools

Site Tools


vax_vms_user

This is an old revision of the document!


# Show current DIR like PWD:

SHOW DEFAULT

# Change DIR [000000] is the root of system

SET DEFAULT DKA0:[directory]

# List directory

DIR

# Run Basic:

BASIC
CTRL-Z to exit

To save a program

SAVE PROGRAM.BAS

To load a program

OLD PROGRAM.BAS

# Programming

EDIT /EDT filename.c
CC FILENAME.C
LINK FILENAME
RUN FILENAME.EXE

Enter a simple helloworld:

CREATE HELLO.C
#include <stdio.h>

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….

vax_vms_user.1779908463.txt.gz · Last modified: by admin