Студопедия
Случайная страница | ТОМ-1 | ТОМ-2 | ТОМ-3
АвтомобилиАстрономияБиологияГеографияДом и садДругие языкиДругоеИнформатика
ИсторияКультураЛитератураЛогикаМатематикаМедицинаМеталлургияМеханика
ОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРелигияРиторика
СоциологияСпортСтроительствоТехнологияТуризмФизикаФилософияФинансы
ХимияЧерчениеЭкологияЭкономикаЭлектроника

The Formula Editor

Читайте также:
  1. Exercise 7. Read and translate the text. Formulate the topic sentence of each paragraph. Express the main ideas of the text.
  2. FORMULAIRE DE CANDIDATURE
  3. Formulation of cutting fluids
  4. John Vidal, environment editor 26 August, 2012
  5. Klassische Editorik und innovative Informationstechnologie
  6. Вкладка Editor

When the “Edit/Formula” menu option is selected, or the “Sigma” button on the main toolbar is clicked, the following window is opened:

Figure 5.6‑37 OpenHoldem Formula Editor

 

On the left side of this window is a tree (“Formulas”) that allows you to select the various functions that are present in your loaded formula file. Regardless of the language that you use for your bot logic, OH-script, C++ or Perl, the functions you see in the screenshot above will be present in every formula file, as these functions are central to how you instruct OpenHoldem to make poker decisions.

 

This tree also has a second tab (“Symbols”) that is built in documentation for all the OH-script language functions. See the {OH-Script} section for more information on this language.

 

The large control on the right side of the window displays the code for whatever function you have currently selected in the tree on the left.

Note: This window in the Formula Editor uses the open source “Scintilla Editor” component to display and allow editing of the selected funciton. More information on this component can be found here: http://www.scintilla.org

 

Above this Scintilla editor control are a “results” field, and a “Calc” and an “Auto” button. The “Calc” button will calculate the currently selected function and display the results in the “results” field. The length of time in seconds that it takes to calculate this function is added to the titlebar text of the Formula Editor window in square brackets. The “Auto” button is only available when the “f$debug” function is selected, and will cause the information displayed in the Scintilla editor control to be updated once every screen scrape cycle.

 

Below the Scintilla editor control are “OK”, “Apply” and “Close” buttons that mirror the functionality of the File menu options, and the toolbar buttons as described below.

 


Дата добавления: 2015-07-20; просмотров: 127 | Нарушение авторских прав


Читайте в этой же книге: Creating a Table Map | Familiarizing yourself with OpenScrape | Manipulating symbol records using OpenScrape | Technical Reference | Manipulating region records using OpenScrape | Technical Reference | Manipulating font records using OpenScrape | Manipulating hash point records using OpenScrape | Manipulating hash records using OpenScrape | Menu Options |
<== предыдущая страница | следующая страница ==>
Toolbars| Secondary Functions

mybiblioteka.su - 2015-2024 год. (0.006 сек.)