Paste: Reads text and greets

Author: Rayne
Mode: factor
Date: Sat, 14 Mar 2009 06:59:07
Plain Text |
USING: io math.parser ;
IN: testing

: ask-name ( -- ) "What is your name?" print ;
: read-name ( -- str ) readln ;
: print-greet ( n -- )
    "Why, hello there you factoring fool " write
    write
    "!" print ;
: letsjustcallthismain ( -- ) ask-name read-name print-greet ;

MAIN: letsjustcallthismain

Annotation: A welcomeing

Author: none
Mode: factor
Date: Thu, 14 Mar 2013 23:52:43
Plain Text |
Welcome to the first section of the "Functions and Relations" unit. In this section you will be studying relations, functions, inverse functions, domain and range. Make sure to contact your instructor with any questions or concerns. Pay close attention to the self-checks throughout the section to make sure that you are understanding the concepts.

   

New Annotation

Summary:
Author:
Mode:
Body: