Using the BASIC Stamp Editor
Page 38
•
BASIC Stamp Programming Manual 2.0b
•
www.parallaxinc.com
‘ { $STAMP BS2e, file2, file3, …, file8 }
Use this form of the STAMP directive if a project, consisting of multiple
files, is desired. This directive must be entered into the first program (to
be downloaded into program slot 0) and not in any of the other files in the
project. The file2, file3, etc. items should be the actual name (and
optionally the path) of the other files in the project. File2 refers to the
program that should be downloaded into program slot 1, file3 is the
program that should be downloaded into program slot 2, etc. If no path is
given, the path of program 0 (the program in which the STAMP directive
is entered) is used.
Up to seven filenames can be included, bringing the total to eight files in
the project all together. Upon tokenizing, running or viewing program 0
in the Memory Map, the editor will read the STAMP directive, determine
if the indicated files exist, will load them if necessary and change their
captions to indicate the project they belong to and their associated
program number. After the directive is tokenized properly, and all
associated files are labeled properly, tokenizing, running or viewing any
program in the Memory Map will result in that program’s entire project
being tokenized, downloaded or viewed.
When a file that is part of a BS2SX project is closed, the entire project (all
the associated files) will be closed as well. When program #0 of a project is
opened from diskette, the entire project will be loaded as well.
To create a project consisting of multiple files, follow these steps:
1. Create the first file in the editor and save it (we'll call it
Sample.bsx). This will be the program that is downloaded into
program slot 0.
2. Create at least one other file in the editor and save it also (we'll call
it NextProgram.bsx).
Note: At this point the editor tabs will be:
0:Sample.bsx and 0:NextProgram.bsx.
E
ASY STEPS FOR CREATING A
MULTI
-
FILE PROJECT
.
Содержание BASIC Stamp 2e
Страница 1: ...BASIC Stamp Programming Manual Version 2 0c...
Страница 30: ...Introduction to the BASIC Stamps Page 28 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 34: ...Quick Start Guide Page 32 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 90: ...BUTTON BASIC Stamp Command Reference Page 88 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 118: ...END BASIC Stamp Command Reference Page 116 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 128: ...FREQOUT BASIC Stamp Command Reference Page 126 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 196: ...NAP BASIC Stamp Command Reference Page 194 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 206: ...OWIN BASIC Stamp Command Reference Page 204 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 214: ...OWOUT BASIC Stamp Command Reference Page 212 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 216: ...PAUSE BASIC Stamp Command Reference Page 214 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 226: ...POLLMODE BASIC Stamp Command Reference Page 224 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 232: ...POLLOUT BASIC Stamp Command Reference Page 230 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 236: ...POLLRUN BASIC Stamp Command Reference Page 234 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 240: ...POLLWAIT BASIC Stamp Command Reference Page 238 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 262: ...RCTIME BASIC Stamp Command Reference Page 260 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 274: ...RUN BASIC Stamp Command Reference Page 272 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 310: ...SEROUT BASIC Stamp Command Reference Page 308 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 324: ...STOP BASIC Stamp Command Reference Page 322 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 340: ...ASCII Chart Page 338 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 342: ...Reserved Words Page 340 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 346: ...Conversion Formatters Page 344 BASIC Stamp Programming Manual 2 0b www parallaxinc com...