Search:

Type: Posts; User: ShaunB

Search: Search took 0.09 seconds.

  1. Thread: Switch problem

    by ShaunB
    Replies
    5
    Views
    1,281

    Re: Switch problem

    Hi SilentNite17,

    I missed your reply and I guess that it's moot now, but those who're interested, a quick and dirty example of using a look-up table to generate a random key has been posted on my...
  2. Thread: Switch problem

    by ShaunB
    Replies
    5
    Views
    1,281

    Re: Switch problem

    For switch case, you need to use break and return, for instance:



    switch ((byte)c)
    {
    case 0:
    return 'a';
    break;
    /** more switch cases */
Results 1 to 2 of 2