Previous Topic: FormatNext Topic: Scope of User Keywords


Examples

The following examples show you how to use the Keyword Assignment Statement. Examples 1 and 2 show user keywords as part of the Keyword Assignment Statement. Example 3 shows a system keyword as part of the Keyword Assignment Statement.

Example 1

@	OUTMSG = 'THIS LIBCODE CANNOT BE PROCESSED'

The string THIS LIBCODE CANNOT BE PROCESSED is assigned to the User Keyword OUTMSG.

Example 2

@	MYMSG = 'THIS LIBCODE CAN''T BE PROCESSED'

The string THIS LIBCODE CAN'T BE PROCESSED is assigned to the User Keyword MYMSG.

Example 3

@	$MSG = 'THIS WON'T BE PROCESSED'

This modeling statement is flagged as a syntax error when modeling is done.