Google
 

Trailing-Edge - PDP-10 Archives - walsh_goodStuff_1600 - more-uns/dc.exe
There are no other files named dc.exe in the archive.
?p ~ ?hX0?x " 
 
<++z	`P9709z7\"H "3 B* :' Q,7,;,3zQ+3\"R+3 Z\$g ["+9 [ Bg,~g+@A4:>3:\+;\"\7\"a+2\"l,~,~+@+@+@+@+@+@+@+@+ + +@+@+ +@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+ +@+@"`h+@+@+@+@+@+@,#,,:h,!,,$,,,,,,,,,,,L+@,1,,-,
+@,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7+@,&+@,(+@+@,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7+@+@+@+@+@7@G+!"p.g &J+&0F1F+0F+
!"p.gM+@.nBg,:,~\"oZ\$cNo"+,>gpBg,,^g,~az+\"ph,\"k,~\"q,~"6@G+"&M+@,~N"&J+@,~,ZBh,~,Z"Bh,~,ZBh,~,Z*hBh,~,ZBh,~"o,>"h,><,X,ZF@h,^,^,~,Z+@"b,g,},Z,~,Z+@"b,g+4,:,~\"t\"c+!"p.Bg,Z+@",g+4O+@@G,~O@G,~#`h,~hoSBoDh,~,>gX"A`!Bg,;,^g,~$h,><x[,@h,^,~-$Iv+3S"\,+,Z+@g0B+@B",g,}$AQ(D(Q0A`g4BV1B+XB+S\"x,7+S,"B+0@ P(,~@fc,x*"f,yg1" +a1b-+c0"00b=+d/"+c0"0b+d1&B9\!"p.Bg6@c:x,~ "7D,~ c2f+g2F,~ c2f+g2F,~ d2f+g2F,~ d2f+g2F,~ e2f+g2F,~ e2f+g2F,~ f2f+g2F,~ f2f+g2F,~ "+f ( D F@@ "Q"c*" ".& F(,~=ABS
  FOR MOST CALCULATIONS, IT IS ONLY NECESSARY TO ENTER THE NUMBERS AND
OPERATION TO BE PERFORMED IN REVERSE POLISH NOTATION, AND TYPE CARRIAGE
RETURN.  THE ANSWER WILL BE DISPLAYED.  STANDARD FUNCTIONS ARE AVAILABLE
BY TYPING THE NAME OF THE FUNCTION.  STORE AND RECALL ARE AVAILABLE FOR
NAMED VARIABLES.
  MOST OPERATIONS ARE DEFINED WITH RESPECT TO "THE STACK", WHICH IS A
LIST OF NUMBERS.  WHEN YOU TYPE IN A NUMBER, IT GETS PUT ONTO THE STACK,
WHERE IT WILL BE FOUND BY AN OPERATOR.  IF YOU ENTER ANOTHER NUMBER
BEFORE SPECIFYING AN OPERATION ON THE FIRST, THE SECOND GETS STACKED
"ABOVE" THE FIRST, BUT THE FIRST IS STILL IN EXISTENCE, AND WILL RETURN
TO BEING "ON TOP" OF THE STACK IF AND WHEN THE SECOND IS REMOVED.
  FUNCTIONS OF GRAPHIC SYMBOLS:
	+ ADD THE TOP TWO ITEMS ON THE STACK, WITH THE SUM REPLACING
	  THEM BOTH.
	- SUBTRACT THE TOP ITEM ON THE STACK FROM THE NEXT TO TOP.  THE
	  DIFFERENCE REPLACES THEM BOTH.
	# CHANGE THE SIGN OF THE TOP ITEM ON THE STACK.  THIS SHOULD BE
	  USED AFTER A NUMBER TO MAKE IT NEGATIVE, BECAUSE A MINUS SIGN
	  APPEARING BEFORE A NUMBER HAS A DIFFERENT MEANING.
	* MULTIPLY THE TOP TWO ITEMS ON THE STACK TOGETHER, WITH THE
	  PRODUCT REPLACING BOTH.
	/ DIVIDE THE TOP ITEM ON THE STACK INTO THE NEXT TO TOP ITEM,
	  WITH THE QUOTIENT REPLACING BOTH.
	\ DIVIDE THE TOP ITEM ON THE STACK BY THE NEXT TO TOP ITEM,
	  WITH THE QUOTIENT REPLACING BOTH.
	> POP THE TOP ITEM OFF THE STACK INTO THE VARIABLE WHOSE NAME
	  IMMEDIATELY FOLLOWS THE BRACKET.  STORE, IN OTHER WORDS,
	  REMOVING THE TOP ITEM FROM THE STACK.
	< PUSH ONTO THE STACK THE VARIABLE WHOSE NAME IMMEDIATELY
	  FOLLOWS THE BRACKET.  RECALL, IN OTHER WORDS.
	: DEFINE A FUNCTION WITH THE NAME WHICH FOLLOWS THE COLON. THE
	  FUNCTION IS A QUOTED STRING WHICH FOLLOWS THE NAME.
	SPACE NO OPERATION, BUT USEFUL FOR SEPARATING NUMBERS ENTERED
	  ONE AFTER THE OTHER, OR FOR MAKING A SEQUENCE MORE READABLE.
	, DUPLICATE THE TOP ITEM ON THE STACK, SO THAT TWO COPIES EXIST
	  ON THE STACK.
	= DISPLAY THE TOP OF THE STACK.  USEFUL IN THE MIDDLE OF LONG
	  OPERATION SEQUENCES OR IN FUNCTIONS.
	? READ A NUMBER FROM THE TERMINAL, PUT IT ON TOP OF THE STACK.
	  USEFUL IN THE MIDDLE OF FUNCTIONS WHICH NEED INPUT VALUES.
  THERE ARE A NUMBER OF FUNCTIONS PREDEFINED, INCLUDING THE STANDARD
FORTRAN SET, MODE CONTROL, AND "HELP" OUTPUT.  TO GET A LIST OF THEM,
TYPE "FUNCTIONS".  TO GET A LIST OF THE NAMED VARIABLES CURRENTLY
DEFINED, TYPE "VARIABLES".  TO DISPLAY THE ENTIRE STACK, TOP TO BOTTOM,
TYPE "STACK".
HI... I'M YOUR FRIENDLY DESK CALCULATOR
TYPE "HELP" AND CARRIAGE RETURN FOR A TUTORIAL
| YOU'VE GOT QUITE A LOT OF STUFF ON THE STACK,
AND THERE'S NOT MUCH ROOM LEFT.
 	 Hg? THE STACK HAS OVERFLOWED.  I'M RESETTING IT.
? SOMEHOW, WE MANAGED TO TAKE SOMETHING OFF
THE STACK WHICH WASN'T THERE.  I'M RESETTING THE STACK.
? I DON'T UNDERSTAND
 ? 	:cSTACK  THE STACK IS EMPTY
? I NEVER HEARD OF  ERROR IN FUNCTION... L0cHcC~01,>#p2`	+4@+ "`	 @,> <
,A,^p+  @,> <
,&,^7!p
,~ 
,~+PH0
@,~09~jY~jxACOSOF+ARG8>D1.0!INMAGNITUDECNM`1,>#p2b!+"pp+!4@@,><",A,^pB,><",&,^,~7ap"`,~+PH0"@,~+9~j0xASINO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