1 | // start |
2 | |
3 | if [User < says < consider < this < string < S] |
4 | forget [current < string < is < *] |
5 | memorize [current < string < is < S] |
6 | assume [[the > length < of < string < S] < is < L < characters] |
7 | say [[ok] [it has < L < characters]] |
8 | |
9 | // |
10 | |
11 | if [User < says < how < long < is < it] |
12 | and [current < string < is < S] |
13 | assume [[the > length < of < string < S] < is < L < characters] |
14 | say [[the > string] < has < L < characters] |
15 | |
16 | // |
17 | |
18 | if [User < says < show < string] |
19 | and [current < string < is < S] |
20 | say [here < it < is < : < S] |
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002758 |
Snippet name: | Considering Strings |
Eternal ID of this version: | #1002758/1 |
Text MD5: | 2e4cafd0f1d6fee4ded160c64233dcae |
Author: | stefan |
Category: | javax |
Type: | Document |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-02-20 20:49:40 |
Source code size: | 584 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 571 / 425 |
Referenced in: | [show references] |