















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















COMP 514 Programming Language Concepts Aaron Block January 30, 2007
Based on notes by N. Fisher, F. Hernandez-Campos, and D. Stotts
2
4
5
Assembly (^) C^ C++^ Java
Tcl/Perl
Visual Basic Scripting
System Prog.
7
11
13
$A = 1; $B = “Hello”; $C $D = true = 3.14;
14
$B$A = “hi”; = “bye”; $C = $A. $B; 16
$B$A = “hi”; = 3; $C = $A. $B; #C = “hi3”
$B$A = “4”; = 3; $C = $A. $B; #C = “43”
$B = 3;$A^ = “hi”; $C = $A + $B; #C = “3” $B = 3;$A^ = “4”; $C = $A + $B; #C = “7” 17
@A print = (1, “two”, 3.13, true); $#A; #Print’s four
19
%A = (‘first’, 1, ‘junk’, ‘value’, 3.14, true); print $A(3.14); #Prints “true” 20