Re: Password Generator



"Dr John Stockton" <jrs@xxxxxxxxxxxxxxxxxx> wrote in message
news:equb2pIzkhYDFwme@xxxxxxxxxxxxxxxxxxxxx
[...]
> For some string types, length(s) is expensive, and should be done at
> most once in the routine; at least in Pascal, it can be done at compile
> time.

Shortstring has the length as the byte at offset 0, ansistring as the
dword at offset -4 or -8, I'm not sure which and it doesn't matter much.
But in Delphi, Length() is not an expensive function unless you go out
of your way to pass it a PChar.

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Re: AIX COBOL ASSIGN error.
    ... Can you tell me WHY you want this to be a record sequential file? ... Message routine called from offset 0x38 of routine ... If i specify thefileorganization as LINESEQUENTIAL, ...
    (comp.lang.cobol)
  • Re: AIX COBOL ASSIGN error.
    ... Message routine called from offset 0x38 of routine ... If i specify thefileorganization as LINESEQUENTIAL, ... Is there any way to convert a LINE SEQUENTIAL file to a SEUQUENTIAL ...
    (comp.lang.cobol)
  • Re: debug my awful code (Timex 80 column display driver)
    ... TIMEX GRAPHIC ADVENTURE DISPLAY SYSTEM ... A channel wrapper for the 80-column display driver. ... extra space becomes the offset, ... This routine ensures that BASIC and channels are not competing with ...
    (comp.sys.sinclair)
  • Re: AIX COBOL ASSIGN error.
    ... I don't think you have told us if you are an experienced COBOL programmer who is ... new to AIX - or if you are new to COBOL and AIX. ... Message routine called from offset 0x38 of routine ...
    (comp.lang.cobol)
  • Re: AIX COBOL ASSIGN error.
    ... SELECT FILECOBV ASSIGN TO FILE1. ... Message routine called from offset 0x38 of routine ... My input file contains Carriage returns and i want read past the ...
    (comp.lang.cobol)