Simple database: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) m (fix tags) |
Walterpachl (talk | contribs) (→{{header|REXX}}: add output) |
||
Line 2,735: | Line 2,735: | ||
Say 'Use category - to list items without category' |
Say 'Use category - to list items without category' |
||
Return</lang> |
Return</lang> |
||
{{out}} |
|||
<pre> Enter your commands, ?, or end |
|||
? |
|||
add item[,[category][,date]] to add an item |
|||
latest category to list the latest item of a category |
|||
latest to list the latest item |
|||
all category to list all items of a category |
|||
all to list all items |
|||
end to end this program |
|||
Use category - to list items without category |
|||
add item1 |
|||
adding item item1/ dated 20141006 |
|||
add item2 |
|||
adding item item2/ dated 20141006 |
|||
add item3,cat3 |
|||
adding item item3/cat3 dated 20141006 |
|||
add item4,cat3,20201910 |
|||
adding item item4/cat3 dated 20201910 |
|||
add item5,cat3,190201910 |
|||
adding item item5/cat3 dated 190201910 |
|||
all |
|||
20141006 item1 � |
|||
20141006 item2 � |
|||
20141006 item3 � cat3 |
|||
20201910 item4 � cat3 |
|||
190201910 item5 � cat3 |
|||
latest |
|||
20201910 item4 � cat3 |
|||
latest cat1 |
|||
no matching item found |
|||
latest cat3 |
|||
20201910 item4 � cat3 |
|||
end |
|||
Bye</pre> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |