home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / ronheb.zip / RONHEB.DOC < prev    next >
Text File  |  1988-05-04  |  4KB  |  130 lines

  1. --------------------------------------------------------------------------------
  2. ; Filename: RONHEB.LIB
  3. ; Program.: Ron's hebrew support V1.1 for clipper summer 1987
  4. ; Authors.: Ron Bar-lev
  5. ; Date....: MAY 4,1988
  6. ; Notice..: Clipper is a trademark of Nantucket.
  7. ;
  8. Ron Bar-lev hebrew support for Clipper summer 1987
  9. ---------------------------------------------------
  10. The folowing functions are included in the run time library RONHEB.LIB,
  11. the library is to be linked with the .OBJ file with clipper's own libraries
  12. EXTEND.LIB and CLIPPER.LIB (obligatory).
  13.  
  14. Before using any of the hebrew support functions and procedures include
  15. the following satment in your program (.PRG):
  16.  
  17. INITHEB(expN)
  18.  
  19. Where expN denotes the max number of hebrew "GET"-s per readh() statement
  20.  
  21. This function initializes the hebrew support public variables and arrays.
  22.  
  23. To invoke hebrew support for clipper version aut' 86 , the above function ;
  24. should be rewritten, moving all public array definitions (not available until
  25. summer 87) to the head of the main module.
  26.  
  27. The hebrew functions allow input into memory variable only. no direct input
  28. into database fields is allowed.It is the programmers responsibility to
  29. initiallize the fields.
  30.  
  31. In the special case when attempting to get hebrew fields defined as array-
  32. elements, indexes should be passed via macro substitution.
  33.  
  34. Following functions are included in GETHEB.PRG
  35. ------------------------------------------------
  36. 1. GETHEB - procedure
  37.  
  38. usage:
  39.  
  40. DO GETHEB with Rownumber,Colnumber,"field-name" [,"Valid-Functions"]
  41.  
  42. The procedure replaces the clipper GET statment.
  43.  
  44. Following functions are included in RONHEB.PRG
  45. ------------------------------------------------
  46. 1. INITHEB - function
  47.  
  48.  
  49. INITHEB([expN])
  50.  
  51. Initilizes the hebrew support system , the optional parameter sets the maximal
  52. number of input fileds for a READH() statement. default value is 50.
  53.  
  54. 2.RHEBVLD()
  55.  
  56. Internally used by the hebrew support system.
  57.  
  58. 3.READH()
  59.  
  60. To be used instead of clipper READ statment.
  61.  
  62.  
  63.  
  64.  
  65. 4.HTRANS(expN)
  66.  
  67. Internally used by the hebrew support system.
  68. Translates lower case english characters to hebrew.
  69.  
  70. 5.HKBOARD(expC)
  71.  
  72. Internally used by the hebrew support system.
  73. Adds an inkey in front of the keyboard buffer string.
  74.  
  75. 6.READHVAR()
  76.  
  77. Returns the currently read hebrew field name,replaces clipper READVAR() func.
  78.   may be used throughout the program.
  79.  
  80. 7.HUPDATED()
  81.  
  82. Returns true if a field was updated during last read
  83.  may be used throughout the program.
  84.  
  85. 8.RHSETK(expN,"Progname")
  86.  
  87. Assigns function keys to be called from within a hebrew field,e.g. for help.
  88.  
  89. Example: 
  90.  
  91. rhsetk(-1,"PROGNAME") - sets the F2 key (-1) to PROGNAME.
  92.  
  93. 9.RHCOLOR()
  94.  
  95. Internally used by the hebrew support system.
  96.  
  97. 10.HEBFIELD()
  98.  
  99. returns .T. if current "get" (from within a "HELP" or "VALID" routine) is
  100. a (Character) Hebrew field.otherwise returns .F..
  101.  
  102. Following functions are included in RONMEMO.PRG
  103. ------------------------------------------------
  104.  
  105. 1.HEBEDIT("Edit_var",uprtrow,uprtcol,loltrow,loltcol,isupdated)
  106.  
  107. This function enables hebrew memofield edit of up to 66 lines,opens an edit
  108. window, replaces MEMOEDIT() .The function returns the edited field.
  109. The last parameter decides if update is alowed.
  110.  
  111. 2.HEBPRN("field_name",left_margin,rt_margin)
  112.  
  113. This function enables printing of long hebrew fileds.left_margin & right_margin
  114. min's are 3 & 2 respectively giving a maximal printed line width of 75 chars.
  115.  
  116. 3.HEBMAC(expS)
  117.  
  118. This function opens macro in hebrew memo field,the macro apears between '{'
  119.  and '}'.
  120.  
  121. Following functions are included in INVERT.PRG
  122. ------------------------------------------------
  123.  
  124. 1.INV(expC)
  125.  
  126. This function reverses long strings by calling an assembly language routine
  127.  CLREV87.ASM (writen by Oded s. Resnik).For any practical purpose there is
  128.  no limit to string length aside from memory avalability.
  129.