source: examples/python_tests/balltime_rt2/ball.save @ 7211a95

mei_rt2mei_rt2_fix_1
Last change on this file since 7211a95 was 7211a95, checked in by Mei <mei@…>, 12 years ago

1) add more python examples
2) add the missing linking role and linking oset api calls
3) fix the output of time typed data term/oset obj in typed_string format

(transform back from yap time format to our ddddddddTdddddd format

  • Property mode set to 100644
File size: 1.1 KB
Line 
1% Restoring file /usr/local/lib/Yap/startup.yss
2 
3===good============ league.stadium(access,true,20120128T130000)<-?-john
4YAP query succeed
5pLeague.stadium('access',true,F:pLeague.gametime(T)) <- pLeague.players(T)
6pLeague.gametime('north') <- time(2012,02,28,13,00,00)
7pLeague.players('north') <- pJohn
8
9===bad============ league.stadium(access,true,20120128T110000)<-?-mark
10YAP query failed
11
12===good============ league.stadium(access,true,20120128T080000)<-?-mark
13YAP query succeed
14pLeague.stadium('access',B:[true],F:[20120228T080000 .. 20120228T090000]) <- pLeague.players(T)
15pLeague.players('south') <- pMark
16
17...final principal set...
18(pJohn,keyid,y)
19(pLeague,keyid,y)
20(pMark,keyid,y)
21
22
23
24...final policy attribute set...
25pLeague.stadium('access',true,F:pLeague.gametime(T)) <- pLeague.players(T)
26pLeague.stadium('access',B:[true],F:[20120228T080000 .. 20120228T090000]) <- pLeague.players(T)
27pLeague.gametime('north') <- time(2012,02,28,13,00,00)
28pLeague.gametime('south') <- time(2012,02,28,14,00,00)
29pLeague.players('north') <- pJohn
30pLeague.players('south') <- pMark
31
32
Note: See TracBrowser for help on using the repository browser.