From 6a7db90a83308b2d035af647444a7c6014429ebc Mon Sep 17 00:00:00 2001 From: Linus Lee Date: Sun, 25 Oct 2020 13:08:19 -0400 Subject: [PATCH] Add LATEST NEWS ON keyword to readme + documentation --- README.md | 7 +++++++ static/js/main.js | 1 + 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 3ee3d03..50c4495 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,13 @@ We can print the result of any expression with `YOU WON'T WANT TO MISS`. You won YOU WON'T WANT TO MISS 'Hello, World!' ``` +Conversely, we can take (string) input from the user with `LATEST NEWS ON`. This creates a prompt to ask the user of your incredible program about the latest news. + +``` +EXPERTS CLAIM age TO BE + LATEST NEWS ON 'What is your age?' +``` + We define functions with `DISCOVER HOW TO functionName WITH arguments, like, this`. We can call them with the `OF` keyword. ``` diff --git a/static/js/main.js b/static/js/main.js index d09c3c0..6921dfd 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -247,6 +247,7 @@ class App extends Component {
  • END OF STORY end a block scope
  • EXPERTS CLAIM...TO BE declare or assign to a variable
  • YOU WON'T WANT TO MISS print output
  • +
  • LATEST NEWS ON take user input
  • TOTALLY RIGHT true
  • COMPLETELY WRONG false
  • PLUS / MINUS / TIMES / DIVIDED BY / MODULO the obvious arithmetic operations