diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-04-15 05:17:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-04-15 05:17:37 +0000 |
commit | 03bfd31925e1e2adaf1980c0b4efe9a62773723a (patch) | |
tree | a54b4c5b03574a0a8930116efff39e203ef4fa61 /doc | |
parent | c3c6189dd87114f6cc6e76e22860d4b2044c5a91 (diff) |
finished up atom definitions and removed canvas from hello world to make it as simple as possible
svn path=/trunk/; revision=4913
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tutorials/intro/00.hello_world.pd | 6 | ||||
-rw-r--r-- | doc/tutorials/intro/16.atoms.pd | 38 |
2 files changed, 33 insertions, 11 deletions
diff --git a/doc/tutorials/intro/00.hello_world.pd b/doc/tutorials/intro/00.hello_world.pd index be9fb17d..0cefdcc8 100644 --- a/doc/tutorials/intro/00.hello_world.pd +++ b/doc/tutorials/intro/00.hello_world.pd @@ -1,6 +1,4 @@ -#N canvas 10 40 628 468 12; -#X obj 230 162 cnv 15 140 30 empty empty empty 20 12 0 14 -225271 -66577 -0; +#N canvas 10 40 632 472 12; #X msg 235 167 Hello world!; #X text 238 216 <-- connection \, aka "cord"; #X text 17 32 In Pd \, programming is done with boxes which are connected @@ -18,4 +16,4 @@ together. The boxes have "inlets" and "outlets" \, where they are connected. stuff will be printed to the Pd window.; #X obj 133 415 print; #X text 198 415 prints to the Pd window.; -#X connect 1 0 7 0; +#X connect 0 0 6 0; diff --git a/doc/tutorials/intro/16.atoms.pd b/doc/tutorials/intro/16.atoms.pd index 7c8f5403..d0d56010 100644 --- a/doc/tutorials/intro/16.atoms.pd +++ b/doc/tutorials/intro/16.atoms.pd @@ -1,10 +1,34 @@ -#N canvas 10 40 620 460 12; +#N canvas 10 40 624 464 12; +#X obj 8 192 cnv 15 600 70 empty empty empty 20 12 0 14 -262134 -66577 +0; #X obj 10 12 cnv 15 400 40 empty empty atoms 20 12 0 24 -228992 -66577 0; -#X text 24 87 The basic data types of Pd are called "atoms". There +#X text 52 190 1; +#X text 77 221 0; +#X text 15 68 The basic data types of Pd are called "atoms". An atom +is a piece of data that cannot be broken down into smaller parts. There are three atom types: "float" \, "symbol" \, and "pointer".; -#X text 10 282 An atom is a piece of data that cannot be broken down -into smaller parts.; -#X text 21 160 A numeric atom is anything that can be interpreted as -a number.; -#X text 18 225 A symbolic atom is...; +#X text 134 194 1.14234e+34; +#X text 425 225 3.14159; +#X text 329 192 -999999; +#X text 331 225 45; +#X text 191 224 -12; +#X text 18 147 A numeric atom is any element that can be interpreted +as a number:; +#X text 488 192 1824.53; +#X text 24 218 3; +#X text 16 259 A symbolic atom is any element that is not a functional +representation of a number \, usually in the form of words:; +#X obj 8 306 cnv 15 600 70 empty empty empty 20 12 0 14 -262134 -66577 +0; +#X text 28 306 word; +#X text 89 338 number5; +#X text 199 309 3..2; +#X text 553 343 --44; +#X text 235 341 label; +#X text 481 304 reset; +#X text 332 304 5++; +#X text 399 336 trigger; +#X text 15 381 A pointer is a very specific type of atom. It is only +used as a reference to a position in a data structure. There is not +visualization of a pointer.; |