Subj : Re: Silly question
To   : Sean Dennis
From : Scott Adams
Date : Wed May 04 2005 12:04 am

-=> Quoting Sean Dennis to All <=-

SD> Silly question, but I'm working on a new door and it's been a long
SD> while since I've picked up the compiler.  I'm using Borland Pascal and
SD> I keep getting an "Error 39: Ordinal expression expected" for this
SD> line of code:
SD> Case UTemp Of (UTemp is a string)

SD> Is there something that I forgot about the Case statement? :>

       Can't use string.  But you could convert the string
       into a number value if needed or its ascii value.
       Depending on what your need is.



... Did I ever tell you that story? - Londo
--- Fringe BBS
* Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)