~zorba-coders/zorba/excel-module

« back to all changes in this revision

Viewing changes to test/Queries/excel/lookup/lookup4.xq

  • Committer: ceejatec
  • Date: 2011-05-18 23:30:51 UTC
  • Revision ID: svn-v4:8046edc3-af21-0410-8661-ec7318497eea:modules/excel/trunk:10449
Use PROJECT_SOURCE_DIR; set all eol-style to "native".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import module namespace
2
 
excel="http://www.zorba-xquery.com/modules/excel/lookup";
3
 
 
4
 
(: vector form :)
5
 
excel:lookup(5, (1, 2, 3, 4, 5), (11, 12, 13, 14))
6
 
 
7
 
(:
8
 
Output: Error [XQP0021] Lookup function: lookup position is outside the result range
 
1
import module namespace
 
2
excel="http://www.zorba-xquery.com/modules/excel/lookup";
 
3
 
 
4
(: vector form :)
 
5
excel:lookup(5, (1, 2, 3, 4, 5), (11, 12, 13, 14))
 
6
 
 
7
(:
 
8
Output: Error [XQP0021] Lookup function: lookup position is outside the result range
9
9
:)
 
 
b'\\ No newline at end of file'