Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #3000207 // Answer for stefanreich (>> log 1002761)

New Tinybrain snippet

runSingle "if * forget * memorize * assume * say * if * and * assume * say * if * and * say *"("* < *"(User, "* < *"(says, "* < *"(consider, "* < *"(this, "* < *"(string, S))))), "* < *"(current, "* < *"(string, "* < *"(is, "*"))), "* < *"(current, "* < *"(string, "* < *"(is, S))), "* < *"("* > *"(the, "* < *"(length, "* < *"(of, "* < *"(string, S)))), "* < *"(is, "* < *"(L, characters))), "* *"(ok, "* < *"("it has", "* < *"(L, characters))), "* < *"(User, "* < *"(says, "* < *"(how, "* < *"(long, "* < *"(is, it))))), "* < *"(current, "* < *"(string, "* < *"(is, S))), "* < *"("* > *"(the, "* < *"(length, "* < *"(of, "* < *"(string, S)))), "* < *"(is, "* < *"(L, characters))), "* < *"("* > *"(the, string), "* < *"(has, "* < *"(L, characters))), "* < *"(User, "* < *"(says, "* < *"(show, string))), "* < *"(current, "* < *"(string, "* < *"(is, S))), "* < *"(here, "* < *"(it, "* < *"(is, "* < *"(":", S)))))
[OK]  step if [User < says < consider < this < string < S] with SNLMatches(map=hashmap{"User"=l("user"), "S"=l("\"hello world\"")}, log=["User", "S"])
[FAIL]  step forget [current < string < is < *] with SNLMatches(map=hashmap{"User"=l("user"), "S"=l("\"hello world\"")}, log=["User", "S"])

download  show line numbers   

Snippet is not live.

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #3000207
Snippet name: Answer for stefanreich (>> log 1002761)
Eternal ID of this version: #3000207/1
Text MD5: b4e85c4406f8e5e1bcbdb3a95ed089ac
Author: someone
Category:
Type: New Tinybrain snippet
Gummipassword: eleutheria-for-user
Uploaded from IP: 69.10.46.185
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-20 21:11:23
Source code size: 1207 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 105
Referenced in: #3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)