Eval(SmallBasicCode)
FCExtensions. - Evaluate the 'Code' string SmallBasicCode - The SmallBasic code to execute Возвращает - "Истина"/"Ложь" GetAllSubs() FCExtensions. - Return, separated by CrLf[13,10], the name of all subs declared by this program Возвращает - An array containing all sub names GetAllVariables() FCExtensions. - Return, separated by CrLf[13,10], the name of all variables declared by this program Возвращает - An array containing all variable names IsNumber(Variable) FCExtensions. - Проверяет тип переменной - "Истина" если числовая, иначе "Ложь" Variable- Переменная для проверки Возвращает - "Истина" или "Ложь" MathEval(LineOfCode) FCExtensions. - Evaluate a statement whitout any call to a function. This function take less time than SmallBasic.Eval Оцените утверждение whitout любой звонок в функцию. Эта функция занимает меньше времени чем SmallBasic. Оценка LineOfCode - The line of code to evaluate Возвращает- The value of the statment RaiseEvent(EventName) FCExtensions. - Raise the specified event EventName - The event RegisterSubToEvent(EventName,SubName) FCExtensions. - Register a sub to an event EventName - The event SubName - The sub SetInterval(SubName,Time,MaxIteration) FCExtensions. - Create an asynchrounous thread that will call 'SubName' each 'Time' miliseconds SubName - The name of the sub Time- The time between each call MaxIteration - The maximum number of call, or -1 Возвращает- A thread's ID SetTimeout(SubName,Time) FCExtensions. - Create an asynchrounous thread that will call 'SubName' after 'Time' miliseconds SubName - The name of the sub Time - The time to wait before calling the sub Возвращает - A thread's ID TextWindow_ReadKey() FCExtensions. - Возвращает the key that's currently pressed in the text window, or "" Возвращает - A key TranslatePointsOfArray UnRegisterSubToEvent(EventName,SubName) FCExtensions. - Unregister a sub to an event EventName - The event SubName- The sub FCFTP Операции DownloadFile(serverFilePath,localFilePath,userName,password) Загружает файл с FTP сервера serverFilePath – Место на сервере (файл для копирования) localFilePath - Место на компьютере для сохранения username - FTP's имя пользователя password - FTP's пароль Возвращает - "Успех" если получилось, иначе сообщение об ошибке UploadFile(serverFilePath,localFilePath,userName,password) Загружает файл на FTP сервер serverFilePath - Место на сервере для сохранения localFilePath - Место на компьютере (файл для копирования) username - FTP's имя пользователя password - FTP's пароль Возвращает - "Успех" если получилось, иначе сообщение об ошибке FCInstances This class provides support for Multiple Instances Applications. By having more than one instance, you can have more than one window opened at a time. Этот класс оказывает поддержку для MIA (Многочисленные Множественных Приложений Экземпляров. При наличии больше чем одного экземпляра у Вас может быть больше чем одно окно, открытое за один раз. Example Application that use the Instances object (Core). Свойства IsMainInstance Return "Истина" if this instance is the main instance of the application "Ложь" otherwhie Возвращает - "Истина"/"Ложь" MainInstance Return the ID of the main instance of the application, or -1 if this instance is the maininstance Возвращает - The ID Операции ©2015 arhivinfo.ru Все права принадлежат авторам размещенных материалов.
|