home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
table120.zip
/
source.zip
/
Table.ipf
< prev
next >
Wrap
Text File
|
2001-08-07
|
7KB
|
167 lines
:userdoc.
:docprof toc=1234 ctrlarea=coverpage.
:title. Table Version 1.2.0
:ctrldef.
:ectrldef.
.* Created by IPF Editor Version 2.11 (C) 1992-1995 Perez Computing Services
.* To order the IPF Editor call: 1-800-IPF-7622
.* For information call: 1-360-428-5025
.*
.*
.* Panel definition : Introduction
.*
.*UserList=Goran Ivankovic
.*DocType=INF
.*
:h1 id=100 res=100 x=0% y=0% width=100% height=100% group=1.Introduction
.*:EditTime=0
:i1 id=100.Introduction
:p.
Table is combination of an ASCII character code chart and a tool to convert and display binary, decimal, octal, hexadecimal and
.*BR
ascii representations of a string.
:p.
This program does not need any install procedure and does not change your system files (CONFIG.SYS and system INI files).
:p.
If you want to create program object on Desktop, run :hp9.Install.cmd:ehp9. Rexx script with parameter :hp9.I:ehp9..
:p.
To destroy program object on Desktop, run :hp9.Install.cmd:ehp9. Rexx script again with parameter :hp9.U:ehp9..
.*
.* Panel definition : Usage
.*
:h1 id=200 res=200 x=0% y=0% width=100% height=100% group=1.Usage
.*:EditTime=0
:i1 id=200.Usage
:p.
If you want to copy system clipboard contents to entry field on start, run Table with parameter 1 (:hp9.Table.exe 1:ehp9.).
:p.
To copy single character to Clipboard, select it in the list on the left side and double-click 1st mouse button or press Enter.
.br
To copy single character to entry area (append to existing string), select it in the list and press :hp9.f5.:ehp9. button.
:p.
To convert string&colon.
:ol compact.
:li.Select source format (select radio button&colon. BIN, DEC, OCT, HEX or ASC).
:li.Enter string you want to convert, or paste it from Clipboard (press :hp9.Paste:ehp9. button). When you enter string in BIN,
.*BR
DEC, OCT or HEX format, there MUST be space between character representations.
:li.Press :hp9.Convert:ehp9. button. In Result window you can see binary, decimal, octal, hexadecimal and ascii representations
.*BR
of a string. To copy result to Clipboard, press button on the right side.
:eol.
:p.
Valid entries for various representations of string are&colon.
:dl compact tsize=10.
:dt.:hp2.BIN:ehp2.
:dd.Binary - valid entry is string composed of characters&colon. :hp9.01:ehp9. between 0 and 11111111.
:dt.:hp2.DEC:ehp2.
:dd.Decimal - valid entry is string composed of characters&colon. :hp9.0123456789:ehp9. between 0 and 255.
:dt.:hp2.OCT:ehp2.
:dd.Octal - valid entry is string composed of characters&colon. :hp9.01234567:ehp9. between 0 and 377.
:dt.:hp2.HEX:ehp2.
:dd.Hexadecimal - valid entry is string composed of characters&colon. :hp9.0123456789AaBbCcDdEeFf:ehp9. between 00 and FF.
:dt.:hp2.ASC:ehp2.
:dd.ASCII (American National Standard Code for Information Interchange) - valid entry is any character.
:edl.
:nt.
NULL byte ['00'x] is displayed as BLANK ['FF'x] in ASCII format.
:ent.
:p.
You can also save result to file. Press :hp9.Write:ehp9. button to set output options&colon.
:ul compact.
:li.file name and directory (default is file table.txt in working directory),
:li.number of characters per line (program will calculate line length),
:li.display (or not) spaces between characters in binary, decimal, octal and hexadecimal representations of a string,
:li.representations of a string to display (binary, decimal, octal, hexadecimal and/or ascii).
:eul.
:p.
If you have two prepared system code pages you can switch between them and convert and display string.
:link reftype=launch object='View.exe' data='Cmdref.inf CODEPAGE'.Read more about code pages:elink..
:p.
:nt.Source code for Table is included - to modify source, you need DrDialog, a visual programming environment for REXX.:ent.
.*
.* Panel definition : Customization
.*
:h1 id=300 res=300 x=0% y=0% width=100% height=100% group=1.Customization
.*:EditTime=997215875
.*:EditUser=0
:i1 id=300.Customization
:p.
You can customize Table&colon.
:ul compact.
:li.Font&colon. open Font Palette, drag and drop font on the character list
(recommended is monospaced font&colon. Courier, System Monospaced or System VIO)
:li.Show all, or only selected characters in the list
:li.Save position of Table window (you can not change size of Table window)
:eul.
:p.
Table will save changes on exit.
:nt.
If you want to use default settings (font 10.System VIO, show all characters in the list), delete file TABLE.INI and start program.
:ent.
.*
.* Panel definition : Source code
.*
:h1 id=400 res=400 x=0% y=0% width=100% height=100% group=1.Source code
:i1 id=400.Source code
:p.
Source code for Table is included - unzip file source.zip to extract files.
:p.
Thanks to Björn Söderström who translated Table to Swedish.
:p.
To modify source (Table.RES), you need DrDialog, a visual programming environment for REXX.
.br
You can :link reftype=launch object='Netscape.exe' data='http://hobbes.nmsu.edu/pub/os2/dev/rexx/drdialog.zip'.download DrDialog from Hobbes:elink..
:p.
To modify help file (Table.ipf), you need any text editor and IPF Compiler to write INF file.
:nt.
If you modify source, I would appreciate a copy of any changes.
:ent.
.*
.* Panel definition : Copyright and license
.*
:h1 id=900 res=900 x=0% y=0% width=100% height=100% group=1.Copyright and license
.*:EditTime=0
:i1 id=900.Copyright and license
:dl compact tsize=15.
:dthd.:hp2.Author:ehp2.
:ddhd.Goran Ivankovic
:dt.:hp2.Address:ehp2.
:dd.Ulica Josipa Poduje 8
:dt.
:dd.HR-52100 Pula
:dt.
:dd.Croatia
:dt.:hp2.email:ehp2.
:dd.:link reftype=launch object='netscape.exe' data='mailto:duga1@pu.hinet.hr?subject=Table 1.2.0'.duga1@pu.hinet.hr:elink.
:dt.:hp2.Home page:ehp2.
:dd.:link reftype=launch object='Netscape.exe' data='http://www.os2world.com/goran/'.http&colon.//www.os2world.com/goran/:elink.
:edl.
:p.
This program is provided free under the terms of the GPL. You can use it, modify it and distribute it.
If you modify or distribute it the new source must accompany the distribution.
I would appreciate a copy of any changes.
.br
You may not distribute :hp2.Table 1.2.0:ehp2. in any way which leads to your making a profit from it.
:p.
The author makes no representations about the accuracy or suitability of
this material for any purpose. It is provided "as is", without any
express or implied warranties. The author will assume no liability for
damages either from the direct use of this product or as a consequence of
the use of this product.
:ul compact.
:li.OS/2 is Trademark of International Bussines Machines Corporation
:li.DrDialog is Copyright of International Bussines Machines Corporation
:eul.
.*EndDocPanels
.*FootnotesHere
:euserdoc.