home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Database / MAXONTWIST-2.DMS / in.adf / AREXX / TWAREXX.TXT < prev   
Encoding:
Text File  |  1993-11-02  |  3.8 KB  |  139 lines

  1. Ergänzung zum ARexx-Kapitel des Handbuchs
  2. -----------------------------------------
  3.  
  4. Diese Auflistung enthält die im Handbuch fehlenden ARexx-Befehle.
  5. Die Beschreibung ist im Augenblick leider nur in Englisch gehalten,
  6. die deutsche Übersetzung wird aber in Kürze fertig sein. Bitte
  7. melden Sie scih bei uns, wenn Sie diese benötigen.
  8.  
  9.  
  10.  
  11. GETATTR OBJECT/A,NAME,FIELD,STEM/K,VAR/K
  12.  
  13.  
  14.  
  15. CREATEDB FILE/A,FORCE/S
  16. Prepares for a new file to be created. The CREATEDB command must be followed by a number of CREATEFIELD commands and the ENDCREATEDB command to actually create the file.
  17.  
  18.  
  19. CHANGEDB FILE,FORCE/S
  20.  
  21.  
  22. CREATEFIELD FIELDNAME/A,LEN/N,REQ/S,FIXED=FIX/S,NOED/S,TEXT=TXT/S,
  23.                 NUMBER=FLT/S,INTEGER=INT/S,DATE/S,VALID/K,CALC/K,INDEX=IDX/S,
  24.                 UNIQ/S,DOWN/S,
  25. Adds a field to dbfile being created/changed.
  26. FIELDNAME is the name of the field to create.
  27. LEN depends on the field type. For text fields it defines the length of the field (Default 30). For other field types it defines the output format.
  28. The default field type is TEXT.
  29. VALID and CALC must be followed by a numerical expression string in doublequotes.
  30.  
  31.  
  32. CHANGEFIELD FIELDNAME/A,LEN/N,REQ/S,FIXED=FIX/S,NOED/S,TEXT=TXT/S,
  33.                 NUMBER=FLT/S,INTEGER=INT/S,DATE/S,VALID/K,CALC/K,INDEX=IDX/S,
  34.                 UNIQ/S,DOWN/S,
  35. Changes the attributes of an existing field. Same syntax as CREATEFIELD.
  36. Must be inside a CREATEDB/CHANGEDB and ENDCREATEDB/ENDCHANGEDB construct.
  37.  
  38.  
  39. DELETEFIELD FIELD/A
  40. Deletes a field.
  41. Must be inside a CREATEDB/CHANGEDB and ENDCREATEDB construct.
  42.  
  43.  
  44. DELETEFIELD FIELDNAME
  45. Removes the field from the fieldlist.
  46. Must be inside a CREATEDB/CHANGEDB and ENDCREATEDB construct.
  47.  
  48.  
  49. ENDCREATEDB
  50. Performes the changes made by the CREATEFIELD, CHANGEFIELD and DELETEFIELD commands. This command may take some time as all records has to be converted and index files must be rebuild.
  51. EX:...
  52.     CREATEDB myfile.db
  53.     CREATEFIELD name
  54.     CREATEFIELD phone
  55.     ENDCREATEDB
  56.  
  57.  
  58. ENDCHANGEDB
  59. alias to ENDCREATEDB
  60. EX:...
  61.     CHANGEDB myfile.db
  62.     CREATEFIELD phone2
  63.     ENDCHANGEB
  64.  
  65.  
  66. Window commands
  67. ---------------
  68.  
  69. OPENWINDOW WHERE/K
  70. Opens the window to the current database. 
  71. If the window already is opened it is topped and activated.
  72. The WHERE keyword must be followed by a query string.
  73.  
  74.  
  75. CLOSEWINDOW
  76. Closes the window to the current database
  77.  
  78.  
  79. MOVEWINDOW LEFTEDGE/N/A,TOPEDGE/N/A
  80. Moves the window for the current database to the given position
  81.  
  82.  
  83. SIZEWINDOW WIDTH/N/A,HEIGHT/N/A
  84. Sizes the window for the current database to the given dimension
  85.  
  86.  
  87. CHANGEWINDOW LEFT/N/A,TOP/N/A,WIDTH/N/A,HEIGHT/N/A
  88. Moves and sizes the window for the current database. Only >= OS2
  89.  
  90.  
  91. WINDOWTOFRONT
  92. Tops the window for the current database.
  93.  
  94.  
  95. WINDOWTOBACK
  96. Moves the the window for the current database in the background.
  97.  
  98.  
  99. ACTIVATEWINDOW
  100. Activates the window for the current database. The window must already be open.
  101.  
  102.  
  103. ZOOMWINDOW
  104. Sizes the window for the current database to the minimum dimension
  105.  
  106.  
  107. UNZOOMWINDOW
  108. Restores the old sizes the window for the current database.
  109.  
  110.  
  111. LOCKGUI
  112. Locks the GUI (Graphical User Interface) until the UNLOCKGUI command is given. While the GUI is locked the database windows are not redrawn by ARexx commands that changes records, and the user can't interact.
  113. If locked some ARexx commands may execute faster.
  114.  
  115.  
  116. UNLOCKGUI
  117. Unlocks the GUI. All windows is redrawn.
  118. EX:...
  119.     LOCKGUI
  120.     selectall
  121.     do while rc=0
  122.         change postcode to 10000
  123.     end
  124.     UNLOCKGUI
  125.  
  126.  
  127. GETATTR OBJECT/A,NAME,FIELD,STEM/K,VAR/K
  128. Gets attributes/info about various objects
  129. OBJECT:
  130.     Application:  version, screen
  131.     Project: current, count, filename0, filename1, ... filename<count-1>
  132.     Window: left,top, width, height, title,max and min dimensions,
  133.     Projects: count, portname0, portname1, ..., portname<count-1>
  134.     Windows: count, filename0, filename1, ... filename<count-1>
  135.     Fields: count, fieldname0, fieldname1, ... fieldname<count-1>
  136.     Field:  field, type, output format flags, validstr, calcstr
  137.     File: record count, size
  138.  
  139.