Article # 479, added by Geoworks, historical record
| first | previous | index | next | last |

LEVELS.GOC won't compile. Why not?



Q. LEVELS.GOC won't compile. Why not?

A. There are two objects that need to have their visMonikers slightly
   modified (go to line #474 and 479). The pound sign (#) is what is
   causing the problem. You can do one of two things to allow the
   compilation to work:

   1. Remove the '#' sign from the string (example below).  This will
      allow the 1 character to remain the keyboard navigation key (if you
      push '1' it will select that trigger).

        GI_visMoniker = '1', "Child #1";
        *change to*
        GI_visMoniker = '1', "Child 1";

   2. Place a '\' before the '#'. This will allow the pre-processor to
      handle the # sign, but for some reason, it cannot use the keyboard
      navigation.

        GI_visMoniker = '1', "Child #1";
        *change to*
        GI_visMoniker = '1', "Child \#1";