>array[(int)GET_SOMETHING(ch))]
>
>Basically it's because the variable is 'byte' or 'char' type so save memory
>for small value variables. The compiler then complains because it doesn't
>think a character in the array is correct. Since it is, you cast it to an
>integer to tell the compiler that you really mean it.
>
So, I have to declare it differently?
(compiling comm.c)
223: subscript has type 'char'
line 223:
if (!isdigit(*argv[pos])) {
I thought argv was not something I would declare myself. Isn't it an array/structure for command line arguments?
I am still a bit confused. Thanks for all this help George..
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST