Re: Instr()
- From: dpb <none@xxxxxxx>
- Date: Fri, 03 Aug 2007 08:15:55 -0500
Michael C wrote:
"Mike Williams" <mike@xxxxxxxxxxxxxxxxx> wrote in message news:e1R9Z9U1HHA.4880@xxxxxxxxxxxxxxxxxxxxxxxInstr() API? There is no Instr() API! Presumably you mean the VB6 Instr function? It is fast, but that's mainly because computers are fast these days.
API means application programming interface, which applies to any function really. It's a fairly general term.
But "normally" reserved for features outside the language itself like a graphics library or somesuch. "Intrinsic" functions are more nearly the description for VB's built-in functions (to pick a nit)...
The VB Instr function is fast mainly because (like most other functions) it simply calls some "under the hood" routine that has been written either in machione code or (more likely) in ASM
I'd say it was written in C myself. Assembler and machine code are pretty much the same thing.
I would agree w/ that, certainly -- I would guess it is either taken directly from or very closely derived from the C strstr() rtl (as are most if not all of the other intrinsics).
--
.
- References:
- Instr()
- From: Jack
- Re: Instr()
- From: Mike Williams
- Re: Instr()
- From: Michael C
- Instr()
- Prev by Date: Re: Urgent. please!
- Next by Date: Re: Lists and detecting if NOT selected
- Previous by thread: Re: Instr()
- Next by thread: Re: Instr()
- Index(es):
Relevant Pages
|
Loading