Difference between revisions of "Learning Programming Overview"

From VistApedia
Jump to: navigation, search
(Created page with "== An overview of Computers and Programming == == Basic Elements of Programming == === Information and Data === ==== Describing Values ==== ==== Strings ==== ===== Interpretin...")
 
 
Line 9: Line 9:
 
==== Names and Variables ====
 
==== Names and Variables ====
 
===== Hiding and New names =====
 
===== Hiding and New names =====
====== NEW =====
+
====== NEW ======
 
===== Initializing =====
 
===== Initializing =====
 
====== SET ======
 
====== SET ======
Line 55: Line 55:
 
==== Input/Output ====
 
==== Input/Output ====
 
===== Creating Channels =====
 
===== Creating Channels =====
====== OPEN ====
+
====== OPEN ======
 
===== Manipulating Channels =====
 
===== Manipulating Channels =====
 
====== USE ======
 
====== USE ======
 
===== Destroying Channels =====
 
===== Destroying Channels =====
====== CLOSE =====
+
====== CLOSE ======
 
===== Interrupting Channels =====
 
===== Interrupting Channels =====
 
===== Channels and Values =====
 
===== Channels and Values =====
====== Values FROM External Source =====
+
====== Values FROM External Source ======
 
====== READ ======
 
====== READ ======
====== Values TO External Source =====
+
====== Values TO External Source ======
 
====== WRITE ======
 
====== WRITE ======
 
====== Formatting ======
 
====== Formatting ======
====== ? - tabs =====
+
====== ? - tabs ======
 
====== # - start =====
 
====== # - start =====
 
====== ! - New Line vs. Carriage Return ====
 
====== ! - New Line vs. Carriage Return ====
====== Controlling I/O =====
+
====== Controlling I/O ======
 
==== Coordinating ====
 
==== Coordinating ====
===== LOCKing ====
+
===== LOCKing =====
 
=== Implementation Specific ===
 
=== Implementation Specific ===
 
==== Z* & $Z & $VIEW & VIEW ====
 
==== Z* & $Z & $VIEW & VIEW ====

Latest revision as of 17:50, 28 October 2015

Contents

An overview of Computers and Programming

Basic Elements of Programming

Information and Data

Describing Values

Strings

Interpreting as Numbers
Interpreting as Truth Values
Program defined Values

Names and Variables

Hiding and New names
NEW
Initializing
SET
= Parameters - Actual & Formal
Updating
= SET & MERGE

Structuring and Arrays

Grouping of Data

MERGE

Destroying Data

KILL

Control Structures

Debugging

BREAK

Transferring Current Control

Looping

GOTO & Tags/Labels =
FOR & QUIT
FOR & GOTO

Decisions

IF ELSE postconditions

Subroutines - Invoking, Stacking, Returning

DO & QUIT & Tags/Labels & dot-lines
Tail-End Recursion
$STACK & $STACK()

Co-routines

JOB

Stopping

Temporary - HANG =
Permanent - HALT =

Interrupting

CONTROL-C
END-OF-FILE
Unexpected Changes
SYNTAX issues
= Undefined values
= Broken Run-time evaluation/Indirection

Table Driven Control

XECUTE
$TEXT tables
FileMan Files

Non-Determinism

Reset/Undo and Retry control

Communicating

Input/Output

Creating Channels
OPEN
Manipulating Channels
USE
Destroying Channels
CLOSE
Interrupting Channels
Channels and Values
Values FROM External Source
READ
Values TO External Source
WRITE
Formatting
? - tabs
= # - start

== ! - New Line vs. Carriage Return

Controlling I/O

Coordinating

LOCKing

Implementation Specific

Z* & $Z & $VIEW & VIEW