Applies To:
  • CitectSCADA 1.00, 1.01, 1.10, 1.11, 1.20, 2.00, 2.01

Question: Some of the pages in the INCLUDE project have names starting with the '!' character. What does this character do to these pages? 

Citect runtime uses the '!' character to indicate that this page is a default page. The effect is that this page will not appear on the menu page, cannot be displayed with PageMenu function, or appear in the page select form (displayed with the PageSelect function).

You can also prefix your page names with the '!' character to stop your pages from appearing on the menu or select form.

Note that PageInfo(0) operates differently for default pages. PageInfo(0) normally returns the name of a page. However, if the first character of the name is '!' then PageInfo will replace the '!' with a space. This ensures that if the page name is displayed on the page it won't show the '!' character. This may cause a problem if you want to use the page name for some other reason. You can however check for a space as the first character and replace it with a '!'.