設計和開發語言‎ > ‎Basic‎ > ‎

PowerBASIC for DOS

張貼者:2010年9月2日 上午9:20未知的使用者   [ service orderble 已於 2012年8月8日 上午2:48 更新 ]
PowerBASIC Compiler for DOS即時常駐程式,內置彙編,新的數據類型,變量的BCD碼,直接數組操作(排序,掃描,插入,刪除),快速數學,和許多其他基本首創使這一新的標準比較為基礎的編譯器。

和PowerBASIC繼續改善與發展的每一個版本,因為我們的團隊聽你,我們的客戶。 我們滿足您的需要在每一個機會。 我們的最新版本提供了更緊張,更快速的代碼,並能夠創建附加的幫助文件的無縫集成到IDE中的






開發商:PowerBASIC, Inc.
原廠網址:http://www.powerbasic.com/products/pbdos/
更新日期:2011/05/29
採購正式版、大量授權報價、技術支援、軟體諮詢、委託採購、詢問報價請來電 02-29299388 分機16 , 
來信service@orderble.com,或點我
-----------------------------------------------------------------------------






特點

虛擬陣列
現在,您可以存儲您的陣列(數字,固定長度的字符串和用戶定義類型)的擴展內存。騰出空間較低的內存更多的代碼和動態字符串數據。 創建多達16兆字節數組的大小,只限於受可用EMS內存。

即時常駐程式
創建常駐程式在瞬間只有5行代碼。 一個60萬常駐內存程序可以“彈出式”的內存僅4K的圖像,具有自動交換到EMS內存或虛擬磁盤。 常駐程式可以被激活,幾乎任何刺激:一個熱鍵,一個計時器,無所作為,甚至一條消息從一個前台程序。 它們可以安全地卸載下的內部控制程序,或由外部請求。即使BIOS的按鍵餡可用。 事實上,多個常駐程式可以激活互相反复,雙向溝通的。

內置彙編
尋找更好的表現? 新的內置彙編可能正是你需要的。第一次,你可以編寫彙編程序代碼,它與你的PowerBASIC混合代碼的每一行。 手優化中最關鍵的絕對表現。 PowerBASIC自動處理所有的細節。 您可以參考您的變量,參數,標籤和功能的名字-甚至首次在CPU寄存器的水平,擴大環境。

新的數據類型
PowerBASIC提供11數字數據類型,字符串數據類型4,然後將用戶定義的類型和工會以及。 有無符號字節,字,雙字變量。 整數的16,32,甚至64位。 單人,雙人和擴展精度花車。 固定和浮點 BCD碼。 固定,Flex的動態和ASCIIZ(空終止固定)字符串。 你甚至可以映射到Flex的字符串動態結構,它們是定義,創建,大小在運行時真正的數據庫能力。

直接控制台I / O
隨著互聯網的重要性越來越長,因此需要DOS程序與Web服務器進行通信。 PowerBASIC DOS應用程序可以使用直接控制台I / O的溝通與Web服務器通過CGI接口。 使用標準輸入,DOS程序可以讀取表單數據從一個web頁面,處理它(如一個數據庫查詢),並建立一output page通過為標準輸出顯示給最終用戶。

BCD碼變量
最後,您可以消除舍入誤差,即使是那些與貨幣相關的其他語言中的變量。 您還沒有被迫到4位小數。 相反,你讓你的選擇:從0到18位,並始終以自動四捨五入的確切水平的需要。 在PowerBASIC,所有的BCD變量是實施規模快速整數計算。

數組操作
內置陣列排序,掃描,插入,刪除,使用可選整理測序國際或特殊字符集。

快速數學
一個可選程序包提供了驚人的速度浮動。 如果沒有一個數字協處理器,它的40%至500%速度比仿真。 然而,它仍使用'87時可用。 它的IEEE兼容,所以你可以混用程序,仿效,或根據需要'87特定的代碼。

基本首創
PowerBASIC是第一個同時提供用戶定義的類型和工會,無限的動態字符串,以及一個真正處理的字符串的內存管理器。有代碼指針(任何子/功能/標籤),條件編譯($如果/ $的ELSE / $ ENDIF),甚至視口的顯示屏幕上的文字。然後加入巨大的數組(大於64K的),絕對數組(在一個特定的地址),甚至退出遠,讓多層次的子過程/函數退出(打破了LONGJMP在C,任何一天)。

結構
創建BASIC程序與任何級別的結構需要。 自由形式或絕對的,是你的選擇。 你甚至可以選擇要求變量聲明後才能使用。 另一首PowerBASIC。

位操作
PowerBASIC提供全補位操作,包括:移位,旋轉,測試,請設置,復位和切換。 甚至暗示位陣列最多支持到512K比特。

通訊
這裡的地方PowerBASIC光芒。 串口通信是COM1端口可通過COM4。 波特率可高達 115200。 任何組合的非標準的IRQ線。 明確控制在DTR,即使在程序終止。 自動錯誤檢測或掩蔽可用,可選刷新的錯誤數據。

IDE中的鼠標支持
使用真正的編譯代碼開發和調試-同樣的代碼,你的EXE文件。 所以,你永遠需要處理緩慢,螺紋p代碼解釋器。這意味著更快的發展,以及消除微妙差異解釋和編譯的結果。 您可以輕鬆地自定義顏色,按鍵和編譯選項,以滿足您的個人品味。 如果環境管理體系的存在,將存儲編輯你的源代碼和幫助文件中作出更大的存儲空間更大的程序在調試過程中。

第三方工具
最強大的工具包和尊重提供給PowerBASIC用戶。 圖書館的公司,像新月,信息管理系統,Ansoft軟件,以及其他使PowerBASIC最全面的基本編譯器上市。 一個極好的每月通訊(基本上)提供及時的諮詢意見和具體的例子,旨在在PowerBASIC程序員。總之,與PowerBASIC,你再也不需要重新發明輪子。

幫助和支持
PowerBASIC包括廣泛的印刷文檔-超過700頁的程序員和參考指南。 然後,上下文敏感的聯機幫助系統提出進一步的細節在您的指尖就在你最需要的。 適合初學者或專業開發商。 技術支持可以從我們的工程技術人員通過電話,電子郵件,郵寄,傳真或我們基於Web的郵件論壇。 PowerBASIC引入真正革命性的基本指針變量首次在任何BASIC編程方言。現在有了另外的指針,基本具備所有重要功能的其他主要編程語言如C和Pascal。

“截至目前,Basic程序員不能利用權力的指針,解釋說:”鮑勃扎勒,總裁PowerBASIC,“我們的目標是繼續增加的權力基礎,而同時又保持易於學習和易用性是傳統的語言。許多程序員現在遷移到PowerBASIC從C,它們需要指針翻譯他們的代碼。由於我們是一個客戶導向的公司,我們引入了指針到最新版本對 PowerBASIC。“

鉛/ DOS的也可以在變量名中強調,加強通信保障,包括支持16550 UART芯片,在速度和增加優化時表演的DWORD數學。 除了改進的編譯器本身,PowerBASIC公司 增強了網上上下文敏感的幫助系統加入信息代碼和數據指針,提供更多的導入源代碼示例,擴大信息的所有廣泛的數據類型(在所有15個)支持PowerBASIC。 兩卷的文件也已修訂和加強,以幫助本修正的功能。

“真正的權力的指針是在他們的速度和靈活性,”布魯斯東京報導,指出軟件產業記者和程序員。“指針是一個變量,擁有32位(4字節)的地址位於其他地方的數據在內存中。它被稱為一個指針,因為它字面上  的數據。數據正在指出的是被稱為 目標。由於該地址是定義在運行時,任何目標可以在內存中所引用的程序就像它是一個標準的PowerBASIC變量。“

傳統上,一個Basic程序員必須使用組合迪夫賽格,聚醚醚酮,並戳來訪問內存。 允許程序員來解決內存字節,整數,長整數和字符串。如果目標數據採取任何其他形式,轉換是必要的。

指針允許程序員來解決目標內存位置以任何方式不滿意。即使預先定義的結構。 現在有了PowerBASIC,要求迪夫賽格和PEEK /戳是不必要的,所以程序員可以訪問該數據更迅速。

此外,代碼指針允許程序員調用Sub或跳轉到一個標籤,而無需知道它的名字。 在CALL DWORD的擴展允許程序員調用子程序的地址,並通過多達16個參數的參考。

源代碼的例子得到加強,並增加了額外的例子。 包括源代碼,有用的編程工具,如文本搜索引擎,文本文件瀏覽器,一個源代碼格式化,一個'whereis的效用查找文件的硬盤驅動器上的任何地方,我們要PowerBASIC流行QuickBASIC的轉換工具。















PC Magazine Editor's Choice!"BASIC developers who write DOS applications expect the same from their programming tools as anyone else does: powerful language syntax, a high-productivity development environment, a fast and efficient compiler, solid documentation, a good selection of third-party tools, and intangibles such as the vendor's dedication to the language and its user base. These are tough criteria, and almost every product we looked at came up short. But not PowerBASIC. Our Editor's Choice in the DOS category, it delivered in almost every regard."
-PC Magazine

Features

Virtual Arrays
Now you can store your arrays (numeric, fixed-length string and user-defined type) in expanded memory. Make room in lower memory for more code and dynamic string data. Create arrays up to 16 megabytes in size, limited only by available EMS memory.

Instant TSRs
Create TSRs in an instant with just five lines of code. A 600K TSR can "pop-down" to a memory image of just 4K, with automatic memory swapping to EMS or virtual disk. TSRs can be activated by practically any stimulus: a hot key, a timer, inactivity, even a message from a foreground program. They can be safely uninstalled under internal program control, or by external request. Even BIOS keystroke stuffing is available. In fact, multiple TSRs can activate each other repeatedly, with two-way communication throughout.

Built-in Assembler
Looking for even better performance? The new built-in Assembler may be just what you need. For the first time, you can write Assembler code and mix it with your PowerBASIC code line by line. Hand optimize the most critical sections for absolute performance. PowerBASIC handles all the details automatically. You can reference your variables, parameters, labels and functions by name -- even debut at the CPU register level in the expanded environment.

New Data Types
PowerBASIC offers 11 numeric data types, 4 string data types, then adds user-defined TYPES and UNIONS as well. There are unsigned byte, word, and double word variables. Integers of 16,32, even 64 bits. Single, double, and extended precision floats. Fixed and Floating-point BCD. Fixed, Flex Dynamic and ASCIIZ (null-terminated fixed) strings. You can even map Flex strings into dynamic structures; they're defined, created, and sized at run-time for true database capability.

Direct Console I/O
As the importance of the Internet grows, so does the need for DOS programs to communicate with Web servers. PowerBASIC allows DOS applications to use Direct Console I/O for communication with a web server through a CGI interface. Using Standard Input, DOS programs can read form data from a web page, process it (such as a database lookup), and create an output page through Standard Output for display to the end user.

BCD Variables
Finally you can eliminate round-off errors, even those associated with currency variables in other languages. You aren't forced to 4 decimal places. Instead you make your choice: from 0 to 18 digits, and always with automatic rounding to the precise level of your needs. In PowerBASIC, all BCD variables are implemented as scaled integers for fast calculation.

Array Operations
Built-in Array Sort, Scan, Insert, and Delete, with optional collate sequencing for international or special character sets.

Fast Math
An optional procedural float package offers startling speed. Without a numeric co-processor, it's 40% to 500% faster than emulation. Yet it still uses the '87 when available. It's IEEE-compatible, so you can intermix procedural, emulated, or '87 specific code as needed.

BASIC Firsts
PowerBASIC is the first to offer both user-defined TYPES and UNIONS, unlimited dynamic strings, and a true handle-based string memory manager. There are code pointers (to any sub/function/label), conditional compilation ($IF/$ELSE/$ENDIF), even viewports for screen text display. Then add Huge Arrays (greater than 64k), Absolute Arrays (at a specific address), even EXIT FAR to allow multi-level sub/function exit (beats the LONGJMP in C, any day).

Structure
Create BASIC programs with any level of structure desired. Free-form or absolute, the choice is yours. You can even choose to require variable declaration before use. Another first for PowerBASIC.

Bit Operations
PowerBASIC offers a full complement of bit operations including: SHIFT, ROTATE, TEST, SET, RESET, and TOGGLE. Even implied bit arrays of up to 512K bits are supported.

Communications
Here's where PowerBASIC shines. Serial port communication is available for COM1 through COM4. BAUD rates up to 115200. Any combination of non-standard IRQ lines. Explicit control of DTR, even after program termination. Automatic error detection or masking is available, with optional flush of erroneous data.

IDE with Mouse Support
Use true compiled code to develop and debug -- the same code as your EXE file. So you'll never need to deal with a slow, threaded p-code interpreter. That means faster development, and the elimination of subtle differences between interpreted and compiled results. You can easily customize colors, keystrokes and compile options to suit your personal taste. If EMS is present, the editor will store your source code and help files in higher memory to make room for larger programs during debugging.

Third Party Tools
The most powerful and respected tool kits are available to PowerBASIC users. Libraries from companies like Crescent, Information Management Systems, Ansoft, and others make PowerBASIC the most comprehensive BASIC compiler available today. A superb monthly newsletter (Basically Speaking) offers timely advice and examples specifically aimed at the PowerBASIC programmer. In a nutshell, with PowerBASIC, you'll never need to re-invent the wheel.

Help and Support
PowerBASIC includes extensive printed documentation -- over 700 pages of Programmer's and Reference Guide. Then, the context-sensitive on-line help system puts further detail right at your fingertips just when you need it most. Perfect for the novice or the professional developer. Technical support is available from our engineering staff by telephone, email, mail, fax or our Web based message forums. PowerBASIC revolutionizes BASIC by introducing true Pointer variables for the first time in any BASIC programming dialect. Now with the addition of Pointers, BASIC has all the important features of the other major programming languages like C and Pascal.

"Up to now, BASIC programmers couldn't take advantage of the power of Pointers," explained Bob Zale, president of PowerBASIC, Inc. "Our goal is to continue to add to the power of BASIC, while at the same time maintaining the ease of learning and ease of use that are traditional with the language. Many programmers are now migrating to PowerBASIC from C, and they require Pointers to translate their code. Since we are a customer driven company, we've introduced Pointers into the latest version of PowerBASIC."

PB/DOS also allows underscores in variable names, enhanced communications support, including support for the 16550 UART chip,and added optimizations in speed when performing DWORD math. In addition to improvements in the compiler itself, PowerBASIC, Inc. has enhanced the online context-sensitive help system by adding information on Code and Data Pointers, providing more importable source code examples, and expanding the information on all of the extensive data types (15 in all) supported by PowerBASIC. The two-volume documentation has also been revised and enhanced to aid in the functionality of this revision.

"The true power of Pointers is in their speed and flexibility," reported Bruce Tonkin, noted software industry journalist and programmer. "A pointer is a variable that holds a 32-bit (4-byte) address of data located elsewhere in memory. It is called a pointer because it literally points to data. The data that is being pointed to is referred to as the target. Since the address is defined at run-time, any target in memory can be referenced by the program just as if it were a standard PowerBASIC variable."

Traditionally, a BASIC programmer had to use combinations of DEF SEG, PEEK, and POKE to access memory. Allowing the programmer to address memory as bytes, integers, long integers, and strings. If the target data took any other form, conversion was necessary.

Pointers allow the programmer to address the target memory location in any fashion desired. Even as pre-defined structure. Now with PowerBASIC, calling DEF SEG and PEEK/POKE is unnecessary, so the programmer has access to that data much more quickly.

In addition, Code Pointers allow a programmer to call a SUB or jump to a label without needing to know its name. The CALL DWORD extension allow programmers to call subprograms by address and pass up to 16 parameters by reference.

Source code examples have been enhanced, and additional examples have been added. Including source code to useful programming utilities, such as a text searching engine, a text file browser, a source code formatter, a 'whereis' utility for finding files anywhere on your hard drive, and our popular QuickBASIC to PowerBASIC conversion utility.