User Tools

Site Tools


vax_vms_user

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vax_vms_user [2026/05/25 01:35] adminvax_vms_user [2026/05/27 19:01] (current) admin
Line 1: Line 1:
-**# Show current DIR:**+**# Show current DIR like PWD:**
  
 <code>SHOW DEFAULT</code> <code>SHOW DEFAULT</code>
 +
 +**# Change DIR [000000] is the root of system**
 +
 +<code>SET DEFAULT DKA0:[directory]</code>
 +
 +**# List directory**
 +
 +<code>DIR</code>
  
 **# Run Basic:** **# Run Basic:**
Line 7: Line 15:
 <code>BASIC</code> <code>BASIC</code>
 <code>CTRL-Z to exit</code> <code>CTRL-Z to exit</code>
 +
 +To save a program (Do this from within the basic interpreter)
 +<code>SAVE PROGRAM.BAS</code>
 +
 +To load a program (Do this from within the basic interpreter)
 +<code>OLD PROGRAM.BAS</code>
 +
 +**# Programming**
 +
 +<code>EDIT /EDT filename.c</code>
 +<code>CC FILENAME.C</code>
 +<code>LINK FILENAME</code>
 +<code>RUN FILENAME.EXE</code>
 +
 +Enter a simple helloworld:
 +
 +<code>
 +CREATE HELLO.C
 +#include <stdio.h>
 +
 +int main() {
 +    printf("Hello, VAX!\n");
 +    return 0;
 +}
 +</code>
 +
 +For fortran
 +
 +<code>FORTRAN FORTRANFILE.FOR</code>
 +
 +Link and run same as c
 +
 +**# Games**
 +
 +<code>ADVENTURE</code>
 +<code>NETHACK</code>
 +
 +More to come....
 +
  
  
vax_vms_user.1779672905.txt.gz · Last modified: by admin