Microsoft KB Archive/35492

Nonstandard Format for Octal Integers in the RCDATA Statement

PSS ID Number: Q35492 Article last modified on 11-05-1993

2.03 3.00 MS-DOS

= SUMMARY =

Page 33 of the “Microsoft Windows Software Development Kit Programming Tools” manual incorrectly describes the RCDATA statement. The text states that “the raw-data field specifies one or more integers and strings stated in standard C-language format.” It also states that “integers are given in decimal, octal, or hexadecimal format.” However, this is not true of octal integers. Octal integers are currently not given in C-language format. The example in the manual and the example below work with Version 2.03 and Version 2.03em of the RC compiler. However, the example is not given in the correct C-language format.

= MORE INFORMATION =

A subset of the above-mentioned example is as follows: resname RCDATA BEGIN 0o733 /* Octal integer */ END If the octal integer matched the standard C-language format, it would be specified as 0733 rather than as 0o733. If you try to specify the octal integer in correct C-language format, the RC compiler interprets the value as a decimal rather than octal.

Additional reference words: 3.00 KBCategory: KBSubcategory: TlsRcUser Copyright Microsoft Corporation 1993.