Developing multi-platform and international edition of ISO Full BASIC. Would you recoomend this project? | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| LastUpdate: | 2011-12-02 18:10 |
| Member: | shiraishikazuo [View] |
| Other Info. | |
| Package | Version | Date | Notes / Change Log |
|---|---|---|---|
| BASICAcc | 0.9.4.6 | 2011-10-10 18:29 | BASIC Accelerator Ver. 0.9.4.6 (2011.10.10)SummaryBASIC Acc is a Full BASIC to Object Pascal Translator. WindowsSet up (Lazarus)Download Lazarus and install it into the folder that has no space character on its path name. Lazarus Download (SourceForge) Choose windows32 Lazarus 0.9.30.Win32 Lazarus should be selected even if you use Windows 64bit. Latest versions at Lazarus Daily Snapshots may resolve some troubles, but may also cause unknown troubles. Set up (BASIC Acc)
Download BASICAcc0946.zip. BASICAcc should be extracted into some normal folder on which the user has write permission. C:\Lazarus\fpc\2.4.2\bin\i386-win32 C:\Lazarus Linux(i386)Set up (fpc and Lazarus)Download fpc, fpc source and Lazarus from
Lazarus Download (SourceForge) Set up (BASIC Acc)Download BASICAcc0946.tar.gz.
This system should be installed into the folder on which the user has write permission. Known Faults
Mac(Intel)Set up (fpc and Lazarus)Download fpc 2.4.4 and Lazarus fixes 0.9.30.1 from
Lazarus Snapshots or
Lazarus Daily Snapshots, and install them. Set up (BASIC Acc)Download BASICAcc0946_Mac.zip. This system should be installed into the folder on which the user has write permission. Known Faults SpecificationsLanguage Specifications are in accordance with the Graphics module, the modules module, and the individual character input module of ISO Full BASIC , while the following are not available. RestrictionsOn the following cases, GOTO statements and IF-THEN-line_number statements can not be executed.
If a routine (or the main program) has a when-in block that has an exception-handler containing a GOSUB~RETURN subroutine, the routine can not have a GOSUB~RETURN subroutine that is not contained in any protection block. A program that has a module which contains an external procedure that has a local variable whose name coincides with a variable that is declared shared or public on that module can not be executed. Parameters of PROGRAM or CHAIN statements should be simple variables (Arrays not allowed). Maximum length declaration for string variables is ignored. (no cut off done.) Incompatibilities with Decimal BASICCharacter EncodingThe character encoding is UTF-8.This is a problem when non-ASCII characters such as © , µ , ° , ± , Ä or Æ are used. ORD-functions and CHR$-functions are defined under Unicode. File I/O assumes the character encoding is UTF-8. Executing a line like SET #n: CODING "SYSTEM"just after the execution of the OPEN-statement enables files of system default encoding to be read or written. Even in such a case, the internal encoding remains to be UTF-8. PRINT USING-statements and USING$-functions need the formatting characters as many as the byte length of the string. If you want to manipulate byte files, you can change the internal character encoding to byte encoding by adding a line OPTION CHARACTER BYTEinto each program unit, or change the Compatibility setting in the Option menu. In such a case, no ANSI encoded non-ASCII characters can be displayed on the screen. UTF-8 encoding slows some string operations such as s$(m:n).If you use only ASCII 7-bit characters, consider to change the Compatibility setting in the Option menu. Program Encoding
Programs shall be encoded to the system default encoding on saving and decoded on loading. CHAIN statementsA CHAIN statement launches a file of extension ".BAS" with file association. The destination programs shall not be compiled. BREAKAny BREAK statement will do, but it only breaks the program. GOSUB
When GOSUB statements are used, each line must has a line number. Bugs Decimal BASIC has
Decimal BASIC has a fault that an internal procedure of the mainprogram can be invoked from an external procedure, thus some programs that can be executed in Decimal BASIC due to its fault may not be launched. About System
The executable file is generated as 'NoName.exe' in the 'output' folder. This can be renamed and used for the destination of a CHAIN statement. Setup Options BASICAcc may use integer variables. But some trouble may occur because the range of these are narrow. If this happens, uncheck the Setup Option Copyright
This software is free software published under GPL.
Copyright 2011 SHIRAISHI Kazuo Modified the condition that integer optimization should be done. |
| decimalbasic | 0.6.1.4 | 2011-11-06 15:16 | Decimal BASIC Ver.0.6.1.4 2011/11/06 Fixed the bug ASK PIXEL SIZE retuned negative numbers in inverteted coordinates. |
| Post Date | Title | Forum Name | Written by |
|---|---|---|---|
| 2011-06-30 08:42 | RE: Compile | Forum of Decimal BASIC | Shiraishi Kazuo |
| 2011-06-30 08:28 | RE: Compile | Forum of Decimal BASIC | Shiraishi Kazuo |
| 2011-06-26 17:26 | RE: Arrays re-dimension | Forum of Decimal BASIC | Moll |
| 2011-06-26 10:20 | RE: Arrays re-dimension | Forum of Decimal BASIC | SHIRAISHI Kazuo |
| 2011-06-26 06:28 | Arrays re-dimension | Forum of Decimal BASIC | Moll |