| Calling Sequence
| GetEntryNumber(offset,df)
|
| Parameters
| | Name | Type | Description |
|
| offset
| {integer,string} | an offset of an entry or an entry |
| df
| database | optional - will default to DB if assigned |
|
| Return Type
| integer |
| Synopsis
| Return the number of the entry which contains the
given offset in df (default DB). If the argument is a string, it is
assumed to be part of the database - in which case the entry number
including the beginning of the string is returned. |
| Examples
| > a := Entry(1);
a := <E><ID>104K_THEPA</ID><AC>P15711;</AC><DE>104 kDa ..(1255).. L</SEQ></E>
> GetEntryNumber(a);
1
> GetEntryNumber(34675449);
30873
|
| See also
| Entry, GetEntryInfo, GetOffset, TextHead |