Verifying Case of field contents

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Verifying Case of field contents

    Hi All,

    A colleague wants a script for a quiz which takes the content of a
    field and checks it against the given answers. Pretty
    straightforward, however she also wants the checker to be case
    sensitive.

    My first thought would be to get the keycode or ascii value (can't
    remember which off the top of my head, but one of them at least
    discerns between upper and lower case) and store all this in a list to
    check against but i thought before i started coding it i'd see if i'd
    managed to completely miss a really obvious solution first.

    Thanks in advance for any help,

    Regards,

    Richie
    Richie Bisset Guest

  2. Similar Questions and Discussions

    1. Manipulating contents of Text Field
      My task is to build a login form. My only tool is HTML - the site does not have Coldfusion. It is a very simple form except that the username...
    2. Simple go to frame (contents of field) script
      Hi, I'm having a problem with one of my scripts and I can't figure it out. I have it set so that the I have a object on stage that, when...
    3. Exporting field contents to .html file
      I have a problem that I reckon somone has come across before. We have a database where I enter an HTML header and an HTML footer into two global...
    4. importing exporting container field contents
      Hello Pierre, Under Windows you might find some hints at www.tekstotaal.com/c.fmp.image.import.html and...
    5. Verifying that a number conforms to field mask
      In a table, Sys_Variables, a system defines a field mask for a certain field, in this case, an inventory tag. The field mask is in the format of...
  3. #2

    Default Re: Verifying Case of field contents

    I woul proably first do a case insensitive string comparison, if they
    match, then parce character by character comparing chartoNum() values.

    BTW some list operations are case sensitive...one of the only things in
    Lingo that is case sensitive.
    JB Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139