RE: [DUG] Ord value of String character

2006-10-25 Thread Stephen Barker
Works for me: procedure TForm1.Button1Click(Sender: TObject); begin ShowMessage(IntToStr(Ord(Edit1.Text[1]))); end; Regards, Steve -Original Message- From: Laurence Bevan [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 October 2006 9:31 a.m. To: delphi@ns3.123.co.nz Subject: [DUG]

RE: [DUG] Ord value of String character

2006-10-25 Thread Laurence Bevan
Good point Dave, thanks. Laurence -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave O'Brien Sent: Thursday, 26 October 2006 12:43 p.m. To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Ord value of String character This should work,

Re: [DUG] CreateProcess

2006-10-25 Thread Alister Christie
This may help: C:\Documents and Settings\Alistercmd /? Starts a new instance of the Windows XP command interpreter CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF] [[/S] [/C | /K] string] /C Carries out the command specified by string and then terminates /K

RE: [DUG] CreateProcess

2006-10-25 Thread John Bird
Cmd /c is from the help: Starts a new instance of the Windows XP command interpreter CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF] [[/S] [/C | /K] string] /C Carries out the command specified by string and then terminates /K Carries out the command