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 04:40] 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** **# Programming**
Line 17: Line 31:
 Enter a simple helloworld: Enter a simple helloworld:
  
-<code>CREATE HELLO.C</code> +<code> 
-<code>\\ +CREATE HELLO.C 
-#include <stdio.h>\\ +#include <stdio.h> 
-\\ + 
-int main() {\\ +int main() { 
-    printf("Hello, VAX!\n");\\ +    printf("Hello, VAX!\n"); 
-    return 0;\\ +    return 0; 
-}\\+}
 </code> </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.1779684002.txt.gz · Last modified: by admin