Compile error when using Procedure called OpenAllFiles()

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
RichDotson
Profound User
Posts: 22
Joined: Fri Aug 06, 2010 1:40 pm
First Name: Rich
Last Name: Dotson
Company Name: Wheeling & Lake Erie Rail
State / Province: Ohio
Country: United States
Contact:

Compile error when using Procedure called OpenAllFiles()

Post by RichDotson »

I created a procedure called OpenAllFiles(). When I try to compile the program I get the following errors:

Code: Select all

*RNF7030 30   1266 000020+ The name or indicator P_ is not defined.      

Line   <---------------------- Source Specifications --
Number ....1....+....2....+....3....+....4....+....5...
  1266+   QrnOpenAccess_T.stateInfo = P_;


If I change the procedure name to OpnAllFiles() the program compiles and executes correctly.

Is there a problem with using the word 'Open' in procedure names?
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: Compile error when using Procedure called OpenAllFiles()

Post by Rob »

It looks like the pre-processor is getting confused with the name of the procedure. We will investigate and make a change to a future release. Thank you for your feedback.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest