613-518-1166 info@zimdatabases.com

ZIM Language Reference

% (Comment)

< All Topics

% (Comment)

Marks the start of a comment in an application program.

Syntax

[ZIMcommand] % comment

Parameters

ZIMcommand

Any portion of a command that appears on one line in an application program.

comment

Any string of characters, normally a few words explaining either ZIMcommand or an entire section of the program. The command parser ignores comment.

Comments

The percent sign marks the start of a comment in an application program.

Example

% Process accelerators
form set (not scroll) fPlayers     % switch off scrolling
case
  when Event.EventName = “F3”    % “Exit” accelerator
   return           % terminate main procedure
  when Event.EventName = “F4”    % “Update” accelerator
   UpdatePlayers ()
  when Event.EventName = “F5”    % “Add” accelerator
   AddPlayers (PlayersAdded)
  when Event.EventName = “F6”    % “Delete” accelerator
   DeletePlayers (PlayersDeleted)
  when Event.EventName = “F7”    % “Report” accelerator
   ReportPlayers ()
endcase

 

See Also

Comments

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents