• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Valence example programs starting at column 9

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Valence example programs starting at column 9

    I went to make a new backend program for an app I'm working on, and I copied the EXNABVAL program with a new name to start work. once I opened the file I noticed that all of the preestablished code was starting on column 9 instead of 16. If I try to compile, it breaks because it doesn't recognize almost anything. I checked EXNABBTN as well and it had the same issue.

    I tried manually moving everything over 7 to the right, which was working fine, but once I did that for the EXNABVAL program, all of the dcl-proc and end-proc lines have an error saying "An assignment operator is expected with the EVAL operation"

  • #2
    The template programs are now in full free. You can find the old non full free in QRPGLESRC2.

    Comment


    • #3
      Do I need to compile with more than just RPGPPOPT: *LVL2? because I cant even compile the untouched example file anymore without it failing

      Comment


      • #4
        ....Or maybe I can now. I'll mess around with it some more and see what happens. Thanks

        Comment


        • #5
          RPGPPOPT set to *LVL2 is the only option you may need to change. So are you able to compile both the fully free and non fully free versions?

          Comment


          • #6
            It seems I can compile the fully free programs, but as far as I can tell, we don't seem to have the QRPGLESRC2 in our system anywhere so I'm not sure about the non fully free versions.

            With the fully free are you still able to add D specs? or do you have to do it all in free. I tried copying my code to a fresh copy of the example program but it didn't seem to like it. I usually use D specs for variable declarations and free for the rest

            Comment


            • #7
              Once you are in fully free I do not believe that you can mix back and forth with non fully free.

              Are you on 6.2? Maybe we have an issue with our installer and it is not adding the QRPGLESRC2 source file.

              Comment


              • #8
                Yes, I'm on the may 26 6.2 build

                Comment


                • #9
                  Hi Shawn -

                  I will send you the non fully free source in an email. We will see that the next update restores the QRPGLESRC2 source file.

                  Comment

                  Working...
                  X