Forum
Keyword
× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

program meaning

  • jpb
  • jpb's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • TAFC-R14 - Unix
  • Posts: 2836
  • Karma: 509
  • Thank you received: 636

jpb created the topic: program meaning

1. POS3 returns the type of delimiter found, see jbase.com/r5/knowledgebase/manuals/3.0/3.../man/jbc2_REMOVE.htm

2. <1,1,-1> will append a sub-value to the array 1,1 of Y.CUSTOMER.GENDER

I hope the shown code is only partial copied - else it doesn't make sense ...

Some people feel the rain - others just get wet (Bob Marley)
#21531

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Karma: -4
  • Thank you received: 0

tester111 replied the topic: program meaning

REMOVE LIST.TEST FROM OR.TEST2 SETTING POS3

what is the meaning of above command.?
#21533

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • TAFC-R14 - Unix
  • Posts: 2836
  • Karma: 509
  • Thank you received: 636

jpb replied the topic: program meaning

Look at the example in the provided link - should be clear enough.

In short:
You read the next value from OR.TEST2 array into LIST.TEST and delete this value from the array.
POS3 shows which kind of delimiter had been used to divide the array at that position.

Some people feel the rain - others just get wet (Bob Marley)
#21534

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Karma: -4
  • Thank you received: 0

tester111 replied the topic: program meaning

REMOVE LIST.TEST FROM OR.TEST2 SETTING POS3 //what is the meaning of POS3???

WHILE LIST.TEST
CALL F.READ(FN.CUSTOMER,LIST.TEST,R.CUSTOMER,F.CUSTOMER,CUST.ERR)
Y.TMP.CUSTOMER = R.CUSTOMER <CUSTOMER.GENDER>
LOCATE Y.TMP.GENDER IN Y.CUSTOMER.GENDER<1> SETTING POS4 ELSE
Y.CUSTOMER.GENDER<1,1,-1> = Y.TMP.GENDER


can anyone explain above program?
#21536

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds