TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRAD CLARKE
from: GARY WEINFURTHER
date: 1996-11-04 20:42:00
subject: Problem with ordinals

Brad Clarke mentioned this to All:
 BC> Here's my Delphi equivelent:
 BC>  {Convert key string to array}
 BC>     For i := 1 To Length(KeyValue) do
 BC>         begin
 BC>            sTemp := Copy(KeyValue, i, 1);
 BC>             KeyChar[i] := Ord(sTemp);
 BC>         end;
Ord requires a character, not a string.  Try this:
  for i := 1 to Length(KeyValue) do
        KeyChar[i] := Ord(KeyValue[i]);
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI, USA. (1:2410/905)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.