Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 24 MAY 2007 11:25:05AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

What are the limitations on the naming of routines in AREV32. I have a suite of programs which replicate the PICK spooler routines i.e. SP-PRINT, SP-EDIT, SP-ASSIGN etc, AREV32 won't allow me to recompile these routines, I get an error telling me that it's an invalid name.

At least I get the error every 2nd time that I try to compile the routine, even when I don't get the error the compile seems to run fine but the object code doesn't change.

The Sprezzatura Group[/url]

World leaders in all things RevSoft

Revelation Conference 2007, London - Wednesday 27th June [url=http://www.revsoft.co.uk/eventregistration.htm]Click here to register for the premier Revelation Software EMEA event of 2007


At 04 JUN 2007 02:23PM Bryan Shumsky wrote:

Names with dashes are invalid for OI, and the precompiler tries to "hide" this fact by invisibly converting the name to have dots where the underscore appears. During program invocation, we do the same 'massaging' of the routine name.

However, before doing this name conversion, we first check to see if the new name will overwrite any existing record (that is, we can't convert this-program to this.program if the record this.program already exists). In those cases, you'll receive a message that you've got an invalid routine name.

The precompiler _tries_ to be smart - if the already-existing record is the same as the current routine (but has just been compiled and renamed previously), it should continue with the renaming.

An alternative is to rename the routines yourself, and then just create a pointer in the VOC/MD that has the 'otherwise illegal' name.

Hope that helps,

- Bryan Shumsky

Revelation Software

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/ed1399fa9a68841f852572e50054b1e2.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1