Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
CTO/ Arev32 functions
Hello all,
My client has a hybrid OI/Arev32 system that I converted from RevG (!) I am calling OI functions and subroutines extensively from within Arev32, and it's working very well. I now need to go the other way, and invoke Arev-based routines from within OI.
One of the functions referenced in the documentation is RUN_CHARACTER; but I don't think that is what I need. How can I call an Arev subroutine (say, FILE_SAVE in the Arev32 file DEMO_BP) from an OI form?
This may be a simple matter; but if I can't make this work, I'll have to duplicate a Lot of code.
Thanks!
Michael
My client has a hybrid OI/Arev32 system that I converted from RevG (!) I am calling OI functions and subroutines extensively from within Arev32, and it's working very well. I now need to go the other way, and invoke Arev-based routines from within OI.
One of the functions referenced in the documentation is RUN_CHARACTER; but I don't think that is what I need. How can I call an Arev subroutine (say, FILE_SAVE in the Arev32 file DEMO_BP) from an OI form?
This may be a simple matter; but if I can't make this work, I'll have to duplicate a Lot of code.
Thanks!
Michael
Comments
https://forum.srpcs.com/discussion/723/arev-form-command
In this case, I have an OI promoted event process associated with an OI form from which I need to call an Arev routine. The calling process is in Sysprocs, of course; the Arev routine is in an Arev BP file.
Outside of things like Arev Common and such, which Have to be called within Arev, can an Arev routine be called from within the OI process if it's just code? If OI recognized the Arev VOC file, and the cataloged entries, I could call the routine directly.
Arev32 is already running, and it has launched an OI form. I need to call an Arev-based routine from the Save event on the OI form. There are no Arev-specific things that run in the routine; it's just code.
If I could RUN DEMO_BP FILE_SAVE, I would. Is there any way to do just that, or do I have to duplicate the code in an OI stored procedure?
Sorry to be dense..
Better answer: if the code is plain vanilla R/BASIC and 100% BASIC+ compatible, move it into OI. Then both AREV32 and OI can call it without any conflicts. I realize there might be a lot of routines that fall into this category, but that is the nature of the beast.
Thanks for your time and attention, sir..
I doubt I can use the OI MSG if it gets called within Arev32. Or can I?
I expect CopyOSFile and RTI_OS_Directory to work if called directly from ARev32. I don't see any mention of them requiring event context (i.e., presentation server).