This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cp-v [2020/03/10 01:51] smj |
cp-v [2020/03/13 13:57] (current) smj |
||
---|---|---|---|
Line 14: | Line 14: | ||
Examples: | Examples: | ||
| | ||
- | COPY file1 //TO// file2 - Straight copy | + | COPY file1 TO file2 - Straight copy |
- | COPY file1 //INTO// file2 - Appends file1 to file2 | + | COPY file1 INTO file2 - Appends file1 to file2 |
- | COPY file1 //TO ME// - Displays file1 to the terminal | + | COPY file1 TO ME - Displays file1 to the terminal |
+ | ||DISPLAY||Display System Status|| | ||
||FL||File List|| | ||FL||File List|| | ||
||LIST||Long file list (also try L)|| | ||LIST||Long file list (also try L)|| | ||
Line 23: | Line 24: | ||
||TELL||Displays a message at a particular time. ex: TELL ME HI at (HH:MM)|| | ||TELL||Displays a message at a particular time. ex: TELL ME HI at (HH:MM)|| | ||
||TIME||Displays the Time of Day|| | ||TIME||Displays the Time of Day|| | ||
+ | ||SHOW||SHOW details about your account|| | ||
||STATUS||Displays how much CPU and system time you've used|| | ||STATUS||Displays how much CPU and system time you've used|| | ||
||OFF||LOGS OUT of the system while displaying a usage summary|| | ||OFF||LOGS OUT of the system while displaying a usage summary|| | ||
Line 64: | Line 66: | ||
O GRAN HR:00 MO/ | O GRAN HR:00 MO/ | ||
- | + | | |
- | + | ||
C 3 18:00 02/ | C 3 18:00 02/ | ||
K 7 14:00 01/ | K 7 14:00 01/ | ||
Line 94: | Line 95: | ||
C 1 18:00 02/ | C 1 18:00 02/ | ||
C 4 18:00 02/ | C 4 18:00 02/ | ||
+ | | ||
>10 FOR I = 0 TO 10 | >10 FOR I = 0 TO 10 | ||
>20 PRINT I | >20 PRINT I | ||
Line 99: | Line 101: | ||
>40 END | >40 END | ||
>RUN | >RUN | ||
+ | | ||
17:14 MAR 10 RUNCBAA... | 17:14 MAR 10 RUNCBAA... | ||
+ | | ||
0 | 0 | ||
1 | 1 | ||
Line 113: | Line 117: | ||
40 HALT | 40 HALT | ||
- | > | + | |
- | + | ||
- | ! | + | |
- | + | ||
**__FORTRAN IV Example Session__** | **__FORTRAN IV Example Session__** | ||
+ | Using [[FORTRAN]] requires you to imagine you're using an imaginary key punch machine producing a card deck. Formatting is important. | ||
+ | |||
+ | * Putting a **C** in column 1 denotes a comment which the compiler will ignore | ||
+ | * Statement numbers can be in columns 1 - 5 | ||
+ | * Column 6 is reserved for **C** aka **TRANSFER CONTROL TO STATEMENT** | ||
+ | * Columns 7 - 55 are typically used for **STATEMENTS** | ||
+ | |||
+ | !TABS 7 | ||
!FORT ME OVER # | !FORT ME OVER # | ||
EXT. FORTRAN IV, VERSION E02 | EXT. FORTRAN IV, VERSION E02 |