Results 1 to 3 of 3

Thread: [RESOLVED] Ascii Function

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Wen Lie's Avatar
    Join Date
    Jul 1999
    Location
    Singapore
    Posts
    524

    Resolved [RESOLVED] Ascii Function

    Hi....

    I'm confuse about the ascii function in C#, coz I'm a newbie here.
    I'm using VB6 before. I don't know what syntax should I use in C#.

    At VB6, I use as below :

    Code:
    Dim AA as string
    Dim BB
    Dim i
    
    AA = "Hello"
    for i = 1 to len(AA)
         BB = mid(trim(AA), i, 1)
         msgbox Asc(BB)
    next i
    how should I write those code in C# ?
    Thanks...

    ** Willy **
    Last edited by Wen Lie; May 4th, 2007 at 12:07 AM. Reason: problem solved
    Regards,
    [-w-]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width