home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
forth
/
compiler
/
fpc
/
tutor
/
l1p010
next >
Wrap
Text File
|
1990-05-16
|
3KB
|
60 lines
╔═════════════════════════════════════════════════════╗
║ Lesson 1 Part 1.0 F-PC 3.5 Tutorial by Jack Brown ║
╚═════════════════════════════════════════════════════╝
We begin with the assumption that you have installed F-PC V 3.5 on your
C: hard disk using the install program that comes on the distribution
disk. Earlier versions of this tutorial gave instructions for
installation on floppy disks but this time round we assume that the
price of hard disks has reached the level that the majority of you can
afford. You can down load F-PC 3.5 from your any of the Forth-Net
bulletin boards. Ask you local sysop for the file names.
┌───────────────────────────────────┐
│ Installation / Configuration TIP │
└───────────────────────────────────┘
We have specified an additional C:\WORK sub directory in F-PC's File
search path that you are permitted to edit during Installation or
reconfirmation. We keep all our own programs and examples in this WORK
sub directory so they do not get lost amongst all F-PC's source files.
You can still do this even if you have already installed F-PC 3.5 by
typing INSTALL again and choosing the reconfiguration option. An
alternate way to do this without running the INSTALL is to use the
.FPATH FPATH and FPATH+ word set. .FPATH will allow you to see the
current Forth Path searched for source ( *.SEQ ) and help ( *.HLP )
files. FPATH <new sub directory paths> will allow you to completely
redefine the current Forth Path, and FPATH+ <additional path> will allow
you to extend the current Forth Path. To add C:\WORK to the current
Forth Path and save the system you would type the following at F-PC's
ok prompt.
FPATH+ C:\WORK <enter> ok
FSAVE F.EXE <enter> ok
BYE <enter>
For some of you the first exercises may seem very simple but I am going
to assume that you have been doing very little experimentation so that
this introductory material will always be useful to others who are about
to begin on their Forth adventure.
┌────────────────────────────────┐
│ Getting In and Out of Forth │
└────────────────────────────────┘
First make the current sub directory C:\FPC and type F <enter> to start
F-PC ( <enter> means press the "enter" key ). If you like you could put
the following commands in a file called F.BAT and place it in the C:\
root directory.
C: \ Place these commands in a file
CD FPC \ called F.BAT Then you can just
F / type F while in the C:\ root directory
CD \ / to start F-PC
┌──────────────────────────────────┐
│ Please Move to Lesson 1 Part 1.5 │
└──────────────────────────────────┘