Hide or Lock PRC !

Hey guys,

is it possible to hide or lock a PRC?
I'm supposed to write a program for a client and my boss doesn't want the client know how we write that program. So I work with PRC (without external file). My boss said that the client is not allowed to have any insight into the PRC.

Best Regards

Benji​
Parents
  • TRY:


    CLROBJ (CNF=N)

    !-- Procedure which should be converted
    CVSTRTXT (TXT=TestPrc, LIN=1, STR="$TEXT (NAM=SPc:TestPrc)")
    CVSTRTXT (TXT=TestPrc, LIN=2, STR="X = 1")
    CVSTRTXT (TXT=TestPrc, LIN=3, STR="$TXTEND")

    OPEN (FIL=C:\Users\Muster\OneDrive - Hexagon\Desktop\TestPrc.txt, DEV=D1, STA=NEW, ACC=A)
    OUTPUT (NAM=TXT:TestPrc, DEV=D1)
    CLOSE (DEV=D1)

    CLROBJ (CNF=N)

    !--Load back the procedure in Quindos.
    CNVFIL (FIL=C:\Users\Muster\OneDrive - Hexagon\Desktop\TestPrc.txt)

    !---Test of the SPc
    INDPRC (NAM=LDBSPc:TestPrc)

    LISREA (NAM=X)

Reply
  • TRY:


    CLROBJ (CNF=N)

    !-- Procedure which should be converted
    CVSTRTXT (TXT=TestPrc, LIN=1, STR="$TEXT (NAM=SPc:TestPrc)")
    CVSTRTXT (TXT=TestPrc, LIN=2, STR="X = 1")
    CVSTRTXT (TXT=TestPrc, LIN=3, STR="$TXTEND")

    OPEN (FIL=C:\Users\Muster\OneDrive - Hexagon\Desktop\TestPrc.txt, DEV=D1, STA=NEW, ACC=A)
    OUTPUT (NAM=TXT:TestPrc, DEV=D1)
    CLOSE (DEV=D1)

    CLROBJ (CNF=N)

    !--Load back the procedure in Quindos.
    CNVFIL (FIL=C:\Users\Muster\OneDrive - Hexagon\Desktop\TestPrc.txt)

    !---Test of the SPc
    INDPRC (NAM=LDBSPc:TestPrc)

    LISREA (NAM=X)

Children
No Data