Short: Basic tools and listings Author: Frank Reibold Uploader: peterr@stud.uni-hannover.de Type: dev/basic Kurz: Basic-Tools und Listings Basic_Utils =========== Basic_Utils is a collection of small Basic sub programs and functions I wrote for some of my projects (MicroPaint contains an extended version of the ARexx port and number formatting functions provided here, for instance). I hope that it is of use for some people :-) This package does also include some utilities like the system information tool CBSI. Sources ------- This package covers among others the following topics: o a dBase viewer o real and integer number formatting (according to Locale settings) o calculating with *very large* integer numbers o a sample ARexx port o a screen grabber o grep and replace tools (note: the ACE versions alter the files directly on the disk whereas the Hisoft Basic versions load the whole file into memory) o linear regression analysis tool o command line parser o modifying .ini files with Blitz Basic (like MS Windows) o FPU detection for Blitz Basic 2 (if present, you can use the new FPU library for maximum speed!) o progress indicators for Blitz Basic 2 users o various other source codes The source codes are written in the following languages: o ACE Basic o Hisoft (Maxon) Basic o Blitz Basic 2 Each source code contains a description of the provided functions. Some ACE sources can be used with Hisoft Basic and vice versa. Utilities --------- You can find the following utilities in the Bin directory: o cbcrypt98 - a file encryption utility (ACE, binary only) o cbsi - a system information tool (Blitz Basic 2, binary only) o grabscreen - saves a screen to an IFF-ILBM file o grep - searches for strings in files, ACE version o delcode - processes text files and deletes control characters and duplicate blank lines etc. o exe_timer - calculates the execution time of programs o mbver - corrects the version strings of Hisoft Basic executables o MemDiff - calculates the memory consumption of programs o replace - replaces strings in files, ACE version Suggestions ----------- Have a look at the following archives for other interesting topics: o ACE_Tuning.lha - how to obtain faster ACE executables o mkagidx361.lha - updates the index of AmigaGuide documents o Progr_Langs.lha - a comparison of programming languages o MicroRexx100.lha - an ARexx extension server Author ------ Send bug reports, suggestions, questions and usefull Basic, C, C++, Pascal, E or Modula-2 sub programs to: Frank Reibold Ottberger Weg 13 31737 Rinteln GERMANY Happy programming! ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 632 280 55.6% 08-Mar-98 17:33:14 Basic_Utils.info 632 265 58.0% 08-Mar-98 17:33:14 +ACE.info 4485 1332 70.3% 11-Oct-97 17:00:32 +DBF.DOC 8590 2976 65.3% 11-Oct-97 14:33:02 +dbview2.b 1859 931 49.9% 11-Oct-97 17:00:26 +dbview2.doc 1194 602 49.5% 11-Oct-97 16:59:22 +diskperf.b 352 229 34.9% 11-Oct-97 14:31:50 +exe_timer.b 860 464 46.0% 11-Oct-97 16:59:20 +grep.b 1324 665 49.7% 11-Oct-97 16:59:18 +mbver.b 1302 628 51.7% 11-Oct-97 16:59:16 +replace.b 246 190 22.7% 11-Oct-97 15:42:12 +trim.b 225 176 21.7% 11-Oct-97 15:41:24 +ValBin.b 191 150 21.4% 11-Oct-97 14:30:00 +version.b 259 193 25.4% 11-Oct-97 14:28:26 +WinMsg.b 2755 1308 52.5% 24-Feb-98 10:42:54 +Basic_Utils.readme 330 199 39.6% 20-Jan-98 13:20:10 +Basic_Utils.readme.info 632 282 55.3% 08-Mar-98 17:33:14 +Bin.info 35304 15692 55.5% 29-Jan-98 17:47:36 +cbcrypt98 42560 18622 56.2% 14-Apr-98 12:41:08 +cbsi 797 419 47.4% 20-Jan-98 13:20:02 +cbsi.out 15552 8833 43.2% 20-Jan-98 13:20:02 +delcode 5932 3430 42.1% 20-Jan-98 13:20:02 +exe_timer 33132 14439 56.4% 20-Jan-98 13:20:02 +grep 33980 14915 56.1% 20-Jan-98 13:20:02 +mbver 23912 13531 43.4% 20-Jan-98 13:20:02 +MemDiff 383 253 33.9% 24-Feb-98 10:55:48 +MemDiff.info 33804 14791 56.2% 20-Jan-98 13:20:02 +replace 632 279 55.8% 08-Mar-98 17:33:14 +Blitz_Basic.info 2664 822 69.1% 24-Feb-98 10:43:36 +config.asc 2241 776 65.3% 19-Jan-98 17:11:50 +config.bb2 396 217 45.2% 24-Feb-98 11:04:22 +config.bb2.info 1242 130 89.5% 19-Jan-98 17:11:50 +config.bb2.xtra 2119 824 61.1% 24-Feb-98 10:44:30 +delcode.asc 1765 783 55.6% 11-Oct-97 14:53:20 +delcode.bb2 396 220 44.4% 24-Feb-98 11:04:24 +delcode.bb2.info 1242 175 85.9% 11-Oct-97 14:53:20 +delcode.bb2.xtra 308 182 40.9% 24-Feb-98 10:52:42 +GetProgramDir.asc 238 147 38.2% 24-Feb-98 10:52:36 +GetProgramDir.bb2 396 219 44.6% 24-Feb-98 11:04:22 +GetProgramDir.bb2.info 1242 130 89.5% 24-Feb-98 10:52:36 +GetProgramDir.bb2.xtra 604 312 48.3% 24-Feb-98 10:44:44 +grabscreen.asc 489 295 39.6% 22-Jul-97 09:20:26 +grabscreen.bb2 396 218 44.9% 24-Feb-98 11:04:24 +grabscreen.bb2.info 1242 166 86.6% 22-Jul-97 09:20:26 +grabscreen.bb2.xtra 493 264 46.4% 24-Feb-98 10:45:26 +isfpu.asc 444 257 42.1% 24-Feb-98 10:45:22 +isfpu.bb2 396 221 44.1% 24-Feb-98 11:04:22 +isfpu.bb2.info 1242 205 83.4% 24-Feb-98 10:45:22 +isfpu.bb2.xtra 1193 579 51.4% 24-Feb-98 10:54:04 +local.asc 1021 542 46.9% 24-Feb-98 10:53:58 +local.bb2 396 221 44.1% 24-Feb-98 11:04:22 +local.bb2.info 1242 130 89.5% 24-Feb-98 10:53:58 +local.bb2.xtra 1070 496 53.6% 24-Feb-98 10:45:40 +MemDiff.asc 835 446 46.5% 25-Jul-97 12:01:20 +MemDiff.bb2 396 224 43.4% 24-Feb-98 11:04:24 +MemDiff.bb2.info 1242 161 87.0% 25-Jul-97 12:01:20 +MemDiff.bb2.xtra 1325 457 65.5% 24-Feb-98 10:45:58 +num_format$.asc 1174 438 62.6% 11-Oct-97 16:50:02 +num_format$.bb2 396 216 45.4% 24-Feb-98 11:04:22 +num_format$.bb2.info 1242 209 83.1% 11-Oct-97 16:50:02 +num_format$.bb2.xtra 853 378 55.6% 24-Feb-98 10:50:48 +progress.asc 650 333 48.7% 24-Feb-98 10:50:50 +progress.bb2 396 221 44.1% 24-Feb-98 11:04:24 +progress.bb2.info 1242 132 89.3% 24-Feb-98 10:50:50 +progress.bb2.xtra 1028 451 56.1% 24-Feb-98 10:37:52 +progress.doc 933 392 57.9% 24-Feb-98 10:50:22 +progress2.asc 706 346 50.9% 24-Feb-98 10:50:18 +progress2.bb2 396 221 44.1% 24-Feb-98 11:04:24 +progress2.bb2.info 1242 132 89.3% 24-Feb-98 10:50:18 +progress2.bb2.xtra 791 344 56.5% 24-Feb-98 10:49:56 +progress3.asc 613 307 49.9% 24-Feb-98 10:49:52 +progress3.bb2 396 220 44.4% 24-Feb-98 11:04:24 +progress3.bb2.info 1242 132 89.3% 24-Feb-98 10:49:52 +progress3.bb2.xtra 1750 790 54.8% 24-Feb-98 11:03:24 +rexxport.asc 1491 723 51.5% 24-Feb-98 11:03:18 +rexxport.bb2 396 218 44.9% 24-Feb-98 11:04:22 +rexxport.bb2.info 1242 130 89.5% 24-Feb-98 11:03:18 +rexxport.bb2.xtra 15 15 0.0% 19-Jan-98 17:11:52 +z 632 278 56.0% 08-Mar-98 17:33:14 +Hisoft_Basic.info 1039 456 56.1% 11-Oct-97 14:26:38 +Args.bas 502 261 48.0% 24-Feb-98 10:55:42 +Args.bas.info 3382 1002 70.3% 11-Oct-97 14:22:52 +BigNum.bas 502 264 47.4% 24-Feb-98 10:55:42 +BigNum.bas.info 2165 787 63.6% 11-Oct-97 14:18:22 +dispautoreq.bas 502 260 48.2% 24-Feb-98 10:55:42 +dispautoreq.bas.info 361 194 46.2% 11-Oct-97 14:11:44 +exists.bas 501 260 48.1% 24-Feb-98 10:55:42 +exists.bas.info 1191 497 58.2% 17-Oct-97 12:19:46 +forminput.bas 502 258 48.6% 24-Feb-98 10:55:42 +forminput.bas.info 1295 549 57.6% 17-Oct-97 12:19:24 +forminputXXL.bas 501 260 48.1% 24-Feb-98 10:55:42 +forminputXXL.bas.info 1483 745 49.7% 11-Oct-97 16:58:42 +grep.bas 502 262 47.8% 24-Feb-98 10:55:42 +grep.bas.info 1833 807 55.9% 11-Oct-97 14:05:22 +Julian.bas 501 261 47.9% 24-Feb-98 10:55:42 +Julian.bas.info 4277 1639 61.6% 11-Oct-97 16:58:40 +mkagidx.bas 502 259 48.4% 24-Feb-98 10:55:42 +mkagidx.bas.info 511 307 39.9% 11-Oct-97 14:36:02 +Name$.bas 502 260 48.2% 24-Feb-98 10:55:42 +Name$.bas.info 862 353 59.0% 11-Oct-97 14:43:18 +regression.bas 502 260 48.2% 24-Feb-98 10:55:42 +regression.bas.info 1667 785 52.9% 11-Oct-97 16:58:38 +replace.bas 502 260 48.2% 24-Feb-98 10:55:42 +replace.bas.info 440 232 47.2% 11-Oct-97 14:40:32 +shell.bas 501 260 48.1% 24-Feb-98 10:55:42 +shell.bas.info 448 264 41.0% 11-Oct-97 14:39:20 +valc.bas 501 258 48.5% 24-Feb-98 10:55:42 +valc.bas.info -------- ------- ----- --------- -------- 326934 144779 55.7% 27-May-98 22:58:12 107 files