Skip to main content

[archive] New AcuBench user question

  • February 18, 2008
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 18 February 2008]

I'm finally trying to use AcuBench as more than a text editor/compiler and I've run into a snag with finding what I hope is a simple setting.

When AcuBench builds my project it creates the following exit paragraph.

Acu-Exit-Rtn.
Perform Acu-Close-Files
EXIT PROGRAM
STOP RUN
.

I want to modify this to do a few different things to work with our existing system, however I'm unable to find where this can be edited from and not be overwritten when the project is rebuilt.

Thanks,

Chris

2 replies

[Migrated content. Thread originally posted on 18 February 2008]

I'm finally trying to use AcuBench as more than a text editor/compiler and I've run into a snag with finding what I hope is a simple setting.

When AcuBench builds my project it creates the following exit paragraph.

Acu-Exit-Rtn.
Perform Acu-Close-Files
EXIT PROGRAM
STOP RUN
.

I want to modify this to do a few different things to work with our existing system, however I'm unable to find where this can be edited from and not be overwritten when the project is rebuilt.

Thanks,

Chris
You can't edit that actual code as far as I know.
But you can modify the source file which acubench generates.
We do this as an example in a few acubench generated programs.

      *     PERFORM Acu-Exit-Rtn
           CALL "W$BITMAP" USING WBITMAP-DESTROY, buttons-bmp
           CALL "W$MENU" USING WMENU-DESTROY, Screen1-Mn-1-Handle
           EXIT PROGRAM
           STOP RUN
           .


But the answer (in version 7.2) is that this code is generated in the .prd

Shaun

[Migrated content. Thread originally posted on 18 February 2008]

I'm finally trying to use AcuBench as more than a text editor/compiler and I've run into a snag with finding what I hope is a simple setting.

When AcuBench builds my project it creates the following exit paragraph.

Acu-Exit-Rtn.
Perform Acu-Close-Files
EXIT PROGRAM
STOP RUN
.

I want to modify this to do a few different things to work with our existing system, however I'm unable to find where this can be edited from and not be overwritten when the project is rebuilt.

Thanks,

Chris
Thanks, I needed to clean up some linkage section items. Found that it would work for me if I put it in the main Screen's after routine.