Scope Syntax

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2108
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Scope Syntax

Post by AUGE_OHR »

hi,

Code: Select all

SET SCOPE TO "4","6"
but it show me only "4" no "5" or "6" :o
what are wrong which this SCOPE :idea:

p.s. Index is matching SCOPE
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2108
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Scope Syntax

Post by AUGE_OHR »

ok found out that it work this Way

Code: Select all

   IF EMPTY(cPart2)
      SET SCOPE TO &cScope
   ELSE
      cTop := CHR( 34 ) + cPart + CHR( 34 )
      SET SCOPETOP TO &cTop
      cBottom := CHR( 34 ) + cPart2 + CHR( 34 )
      SET SCOPEBOTTOM TO &cBottom
   ENDIF
but why this Syntax fail :idea:

Code: Select all

cScope := CHR( 34 ) + cPart + CHR( 34 ) + "," + CHR( 34 ) + cPart2 + CHR( 34 )
have fun
Jimmy
Post Reply