get("#349") -- table functions
refs = findNTTitle("Need bridge %")
for id in all(refs) do
id = "#"..id
title = getSnippetTitle(id)
print(id.." - "..title)
_, _, snippetID, masterBridgeID = title:find("from (#%d+) following master bridge (#%d+)")
snippetTitle = getSnippetTitle(snippetID)
snippetText = getSnippet(snippetID)
print(" "..snippetID.." - "..snippetTitle)
print(" "..snippetText.."\n")
print(" Your verdict: \n")
end
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
| ID | Author/Program | Comment | Date | |
|---|---|---|---|---|
| 850 | #1000610 | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { get("#349") -- table functions refs = findNTTitle("Need bridge %") for id in all(refs) do id = "#"..id title = getSnippetTitle(id) print(id.." - "..title) _, _, snippetID, masterBridgeID = title:find("from (#%d+) following master bridge (#%d+)") snippetTitle = getSnippetTitle(snippetID) snippetText = getSnippet(snippetID) print(" "..snippetID.." - "..snippetTitle) print(" "..snippetText.."\n") print(" Your verdict: \n") end }} | 2015-08-19 22:48:03 | delete |
| 801 | #1000604 (pitcher) | 2015-08-18 00:07:22 |
| Snippet ID: | #530 |
| Snippet name: | Find "Need bridge" snippets & present questionnaire |
| Eternal ID of this version: | #530/1 |
| Text MD5: | db2686056de850eb2f2b3e384699717d |
| Author: | stefan |
| Category: | |
| Type: | Lua code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-03-15 00:43:24 |
| Source code size: | 470 bytes / 15 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 2062 / 317 |
| Referenced in: | [show references] |