GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Handbook
  • Glossary

This view

  • Original page
  • New address

GeezerVison is showing docs.factorcode.org — Your first program - Factor Documentation

Your first program
Factor handbook

Prev:Factor cookbook
Next:Guided tour of Factor


In this tutorial, we will write a simple Factor program which prompts the user to enter a word, and tests if it is a palindrome (that is, the word is spelled the same backwards and forwards).

In this tutorial, you will learn about basic Factor development tools.

Note: when you come across boxes with Factor code examples, you can click on them to copy and paste the code into your listener, to be run by then hitting ENTER.

Creating a vocabulary for your first program
Writing some logic in your first program
Testing your first program
Extending your first program


You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.