third_party_content:community:commentary:forums_nonworks:2b6d8facdc14c10385257949005fb5e6

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 15 NOV 2011 12:25:24PM Matthew Watson wrote:

When we converted AREV3.12 to AREV32 we thought all the programs that compiled compiled.

But finding out that in many cases it says it compiles but does not.

I found that if the following code is in AREV3.12 it works but in AREV32 it says it compiles but really it did not.

var1=oconv(var2,'numtochar_conv')

why did the mass switchover to AREV32 not catch this error?

or is some of this because of the debug not working in AREV32 just causes AREV32 to just crash and have to relaunch AREV32.


At 16 NOV 2011 04:02PM Dave Harmacek wrote:

I suggest that you copy all of your user-defined conversion program, like this one, to OI. And then remove them from Arev32. Even best, move them to the OI SYSPROG application and compile them there. Same applies to all MFS that you write.

Also, if the name of the user-defined conversion program contains a dot, ".", then it will fail.

Dave


At 26 NOV 2011 08:50AM Eric wrote:

var1=oconv(var2,'numtochar_conv')

is arcane use of syntax. In fact, it's not very common.

Why not write your oconvs as functions, and deliver the output that way?


At 28 NOV 2011 09:35AM Dave Harmacek wrote:

This code will compile just fine. But the compiler doesn't evaluate the numtochar_conv, the runtime does. So, did you compile numtochar_conv on it's own?


At 28 NOV 2011 07:40PM Warren Auyong wrote:

As I recall the ARev compiler wants the name of the user conversion to be in Upper Case. It will compile but not execute as record names are case sensitive. Could be the problem here.


At 05 DEC 2011 09:27AM Matthew Watson wrote:

The code is all in uppercase i just typed it in here in lower case…

I just ended up finding all the numtochar and do them a different way.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/2b6d8facdc14c10385257949005fb5e6.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1