| View previous topic :: View next topic |
| Author |
Message |
LinkSisco Valued Newbie
Joined: 17 May 2002 Posts: 30 Location: UK
|
Posted: Wed Jul 03, 2002 4:44 pm Post subject: What @chr is "? |
|
|
What number do I put in the @chr(xxx) command to get an "?
Thank. |
|
| Back to top |
|
 |
LOBO Valued Contributor


Joined: 14 Mar 2002 Posts: 241 Location: Wilmington, Delaware, USA
|
Posted: Wed Jul 03, 2002 4:52 pm Post subject: |
|
|
LinkSisco,
@chr(34) will give you quotes. |
|
| Back to top |
|
 |
LinkSisco Valued Newbie
Joined: 17 May 2002 Posts: 30 Location: UK
|
Posted: Wed Jul 03, 2002 5:01 pm Post subject: |
|
|
Thank you very much...
PS love the avatar... |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Wed Jul 03, 2002 10:15 pm Post subject: |
|
|
To extend it:
0 = NUL
1 = SOH
2 = STX
3 = ETX
4 = EOT
5 = ENQ
6 = ACK
7 = BEL
8 = BS
9 = HT
10 = LF
11 = VT
12 = FF
13 = CR
14 = SO
15 = SI
16 = DLE
17 = DC1
18 = DC2
19 = DC3
20 = DC4
21 = NAK
22 = SYN
23 = ETB
24 = CAN
25 = EM
26 = SUB
27 = ESC
28 = FS
29 = GS
30 = RS
31 = US
127 = DEL
However please don't ask me what those abbreviations mean.
Tommy |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Jul 03, 2002 11:35 pm Post subject: |
|
|
Here's a prog to get scan codes for different fonts.
Choose "No" from the popup to see multiple fonts
(such as wingdings and webdings), and "Yes" for a
standard font.
http://www.vdsworld.com/forum/viewtopic.php?p=2023#2023
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361

Last edited by Mac on Thu Jul 04, 2002 8:45 am; edited 3 times in total |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Jul 04, 2002 7:51 am Post subject: |
|
|
Hi again, Mac!
There seems to be a little problem with this script: If the char's scan code is 3-digit, the script won't work properly.
I believe the problem is located in this line:
| Code: | | %n = @substr(@item(Numbers, %x), 6, 7) |
It should perhaps be something like this:
| Code: | | %n = @substr(@item(Numbers, %x), 6, @pred(@len(@item(Numbers, %x)))) |
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Jul 04, 2002 8:39 am Post subject: |
|
|
Hey Dread,
Thanks, what would I do without ya...
Lol, I've used this prog for almost a year and never
encountered this problem. What can I say...
I reposted it (with your modification) and changed
the link in my previous post to the new one:
http://www.vdsworld.com/forum/viewtopic.php?p=2023#2023
Thanks again, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
MarkTrubo Contributor


Joined: 27 May 2001 Posts: 148 Location: Long Island, NY
|
Posted: Thu Jul 04, 2002 11:48 am Post subject: More on Those odd codes from Tommy.... |
|
|
---------------------------------
Physical Device Controls: Format Effectors
---------------------------------
BS: Backspace
HT: Horizontal Tab
LF: Line Feed
VT: Vertical Tab
FF: Form Feed
CR: Carriage Return
---------------------------------
Physical Device Controls: Other
------------------------------------
BEL: Bell
DC1, DC2, DC3, DC4: No assigned meaning in ASCII, but DC1 and DC3 are used for XON and XOFF in most software handshaking schemes.
---------------------------------
Logical Communications Controls
---------------------------------
SOH: Start of Header
STX: Start of Text
ETX: End of Text
EOT: End of Transmission
ENQ: Enquiry
ACK: Acknowledge
DLE: Data Link Escape
NAK: Negative Acknowledge
SYN: Synchronous Idle
ETB: End of Transmission Block
---------------------------------
Physical Communications Controls
---------------------------------
NUL: Null
DEL: Delete
CAN: Cancel
EM: End of Medium
SUB: Substitute
---------------------------------
Information Separators
---------------------------------
FS: File Separator
GS: Group Separator
RS: Record Separator
US: Unit Separator
Controls for Code Extensions
SI: Shift In
SO: Shift Out
ESC: Escape
But, alas, I still don't know what most of these REALLY mean!
Last edited by MarkTrubo on Thu Jul 04, 2002 12:01 pm; edited 1 time in total |
|
| Back to top |
|
 |
MarkTrubo Contributor


Joined: 27 May 2001 Posts: 148 Location: Long Island, NY
|
Posted: Thu Jul 04, 2002 12:00 pm Post subject: OK, I found a little more on those... |
|
|
NUL - NULL - A control character used to accomplish media-fill or time-fill. Null characters may be inserted into or removed from a stream of data without affecting the information content of that stream. But then the addition or removal of these characters may affedt the information layout and/or the control of equipment.
STX - START OF HEADING - A transmission control character used as the first character of a heading of an information message.
SOT - START OF TEXT - A transmission control character which precedes a text and which is used to terminate a heading.
ETX - END OF TEXT - A transmission control character which terminates a text.
EOT - END OF TRANSMISSION - A transmission control character used to indicate the conclusion of the transmission of one or more texts..
ENQ - ENQUIRY - A transmission control character used as a request for a response from a remote station; the response may include station identification and/or station status. When a "Who are you" function is required on the general switched transmission network, the first use of ENQ after the connection is established shall have the meaning "Who are you" (station identification). Subsequent use of ENQ may, or may not, include the function "Who are you", as determined by agreement.
ACK - ACKNOWLEDGE - A transmission control character transmitted by a receiver as an affirmative response to the sender.
BEL - BELL - A control character that is used when there is a need to call for attention; it may control alarm or attention devices.
BS - BACKSPACE - A format effector which moves the active position one character position backwards on the same line.
HT - HORIZONTAL TABULATION - A format effector which advances the active position to the next pre-determined character position on the same line.
LF - LINE FEED - A format effector which advances the active position to the same character position of the next line.
VT - VERTICAL TABULATION - A format effector which advances the active position to the same character position on the next pre-determined line.
FF - FORM FEED - A format effector which advances the active position to the same character position on a pre-determined line of the next form or page.
CR - CARRIAGE RETURN - A format effector which moves the active position to the first character position on the same line.
SO - SHIFT OUT - A control character which is used in conjunction with SHIFT IN and ESCAPE to extend the graphic character set of the code. It may alter the meaning of octets 33 - 126 (dec.). The effect of this character when using code extension techniques is described in International Standard ISO 2022.
SI - SHIFT IN - A control character which is used in conjunction with SHIFT OUT and ESCAPE to extend the graphic character set of the code. It may reinstate the standard meanings of the octets which follow it. The effect of this character when using code extension techniques is described in International Standard ISO 2022.
DLE - DATA LINK ESCAPE - A transmission control character which will change the meaning of a limited number of contiguously following characters. Its is used exclusively to provide supplementary data transmission control functions. Only graphic characters and transmission control characters can be used in DLE sequences.
DC1 - DEVICE CONTROL ONE - A device control character which is primarily intended for turning on or starting an ancillary device. If it is not required for this purpose, it may be used to restore a device to the basic mode of operation (see also DC2 and DC3), or for any other device control function not provided by other DCs.
DC2 - DEVICE CONTROL TWO - A device control character which is primarily intended for turning on or starting an ancillary device. If it is not required for this purpose, it may be used to set a device to a special mode of operation (in which case DC1 is used to restore normal operation), or for any other device control function not provided by other DCs.
DC3 - DEVICE CONTROL THREE - A device control character which is primarily intended for turning off or stopping an ancillary device. This function may be a secondary level stop, for example, wait, pause, stand-by or halt (in which case DC1 is used to restore normal operation). If it is not required for this purpose, it may be used for any other device control function not provided by other DCs.
DC4 - DEVICE CONTROL FOUR - A device control character which is primarily intended for turning off, stopping or interrupting an ancillary device. If it is not required for this purpose, it may be used for any other device control function not provided by other DCs.
NAK - NEGATIVE ACKNOWLEDGE - A transmission control character transmitted by a receiver as a negative response to the sender.
SYN - SYNCHRONOUS IDLE - A transmission control character used by a synchronous transmission system in the absence of any other character (idle condition) to provide a signal from which synchronism may be achieved or retained between data terminal equipment.
ETB - END OF TRANSMISSION BLOCK - A transmission control character used to indicate the end of a transmission block of data where data is divided into such blocks for transmission purposes.
CAN - CANCEL - A character, or the first character of a sequence, indicating that the data preceding it is in error. As a result, this data is to be ignored. The specific meaning of this character must be defined for each application and/or between sender and recipient.
EM - END OF MEDIUM - A control character that may be used to identify the physical end of a medium, or the end of the used portion of a medium, or the end of the wanted portion of data recoreded on a medium. The position of this character does not necessarily correspond to the physical end of the medium.
SUB - SUBSTITUTE - A control character used in the place of a character that has been found to be invalid or in error. SUB is intended to be introduced by automatic means.
ESC - ESCAPE - A control character which is used to provide additional control functions. It alters the meaning of a limited number of contiguously following bit combinations. The use of this character is specified in International Standard ISO 2022.
FS - FILE SEPARATOR - A control character used to separate and qualify data logically; its specific meaning has to be specified for each application. If this character is used in hierarchical order, it delimits a data item called a file.
GS - GROUP SEPARATOR - A control character used to separate and qualify data logically; its specific meaning has to be specified for each application. If this character is used in hierarchical order, it delimits a data item called a group.
RS - RECORD SEPARATOR - A control character used to separate and qualify data logically; its specific meaning has to be specified for each application. If this character is used in hierarchical order, it delimits a data item called a record.
US - UNIT SEPARATOR - A control character used to separate and qualify data logically; its specific meaning has to be specified for each application. If this character is used in hierarchical order, it delimits a data item called a unit.
DEL - DELETE - (not defined) |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Jul 04, 2002 8:27 pm Post subject: |
|
|
Mark, there are some errors in your definitions:
STX should be SOH and SOT should be STX.
Also, in the SO definition, I assume "33 - 126 (dec.)" should
be "33 - 126 (dec.)", since it's labeled decimal...
Here's a compilation of Tommy's and Mark's posted info put
together (hopefully) so they're easier to use. It shows the
@chr() number, name, and definition. And it's divided into the
groups Mark used.
| Code: |
-------------------------------------------
Physical Device Controls: Format Effectors
-------------------------------------------
8 BS (BACKSPACE) - A format effector which moves the active
position one character position backwards on the same line.
9 HT (HORIZONTAL TABULATION) - A format effector which advances
the active position to the next pre-determined character position
on the same line.
10 LF (LINE FEED) - A format effector which advances the active
position to the same character position of the next line.
11 VT (VERTICAL TABULATION) - A format effector which advances
the active position to the same character position on the next
pre-determined line.
12 FF (FORM FEED) - A format effector which advances the active
position to the same character position on a pre-determined
line of the next form or page.
13 CR (CARRIAGE RETURN) - A format effector which moves the active
position to the first character position on the same line.
-------------------------------------------
Physical Device Controls: Other
-------------------------------------------
7 BEL (BELL) - A control character that is used when there is a
need to call for attention; it may control alarm or attention
devices.
17 DC1 (DEVICE CONTROL ONE) - A device control character which is
primarily used for turning on or starting an ancillary device.
If it is not required for this purpose, it may be used to restore
a device to the basic mode of operation (see also DC2 and DC3),
or for any other device control function not provided by other
DCs. No assigned meaning in ASCII, but is used for XON in most
software handshaking schemes.
18 DC2 (DEVICE CONTROL TWO) - A device control character which is
primarily used for turning on or starting an ancillary device.
If it is not required for this purpose, it may be used to set a
device to a special mode of operation (in which case DC1 is used
to restore normal operation), or for any other device control
function not provided by other DCs. No assigned meaning in ASCII.
19 DC3 (DEVICE CONTROL THREE) - A device control character which is
primarily use for turning off or stopping an ancillary device.
This function may be a secondary level stop, for example, wait,
pause, stand-by or halt (in which case DC1 is used to restore
normal operation). If it is not required for this purpose, it
may be used for any other device control function not provided by
other DCs. No assigned meaning in ASCII, but is used for XOFF in
most software handshaking schemes.
20 DC4 (DEVICE CONTROL FOUR) - A device control character which
is primarily used for turning off, stopping or interrupting an
ancillary device. If it is not required for this purpose, it
may be used for any other device control function not provided
by other DCs. No assigned meaning in ASCII.
-------------------------------------------
Logical Communications Controls
-------------------------------------------
1 SOH (START OF HEADING) - A transmission control character used
as the first character of a heading of an information message.
2 STX (START OF TEXT) - A transmission control character which
precedes a text and which is used to terminate a heading.
3 ETX (END OF TEXT) - A transmission control character which
terminates a text.
4 EOT (END OF TRANSMISSION) - A transmission control character
used to indicate the conclusion of the transmission of one or
more texts.
5 ENQ (ENQUIRY) - A transmission control character used as a
request for a response from a remote station; the response may
include station identification and/or station status. When a
"Who are you" function is required on the general switched
transmission network, the first use of ENQ after the connection
is established shall have the meaning "Who are you" (station
identification). Subsequent use of ENQ may, or may not, include
the function "Who are you", as determined by agreement.
6 ACK (ACKNOWLEDGE) - A transmission control character transmitted
by a receiver as an affirmative response to the sender.
16 DLE (DATA LINK ESCAPE) - A transmission control character which
will change the meaning of a limited number of contiguously
following characters. Its is used exclusively to provide
supplementary data transmission control functions. Only graphic
characters and transmission control characters can be used in DLE
sequences.
21 NAK (NEGATIVE ACKNOWLEDGE) - A transmission control character
transmitted by a receiver as a negative response to the sender.
22 SYN (SYNCHRONOUS IDLE) - A transmission control character used
by a synchronous transmission system in the absence of any other
character (idle condition) to provide a signal from which
synchronism may be achieved or retained between data terminal
equipment.
23 ETB (END OF TRANSMISSION BLOCK) - A transmission control
character used to indicate the end of a transmission block of
data where data is divided into such blocks for transmission
purposes.
-------------------------------------------
Physical Communications Controls
-------------------------------------------
0 NUL (NULL) - A control character used to accomplish media-fill or
time-fill. Null characters may be inserted into or removed from a
stream of data without affecting the information content of that
stream. But then the addition or removal of these characters may
affect the information layout and/or the control of equipment.
127 DEL (DELETE) - Not defined.
24 CAN (CANCEL) - A character, or the first character of a sequence,
indicating that the data preceding it is in error. As a result,
this data is to be ignored. The specific meaning of this character
must be defined for each application and/or between sender and
recipient.
25 EM (END OF MEDIUM) - A control character that may be used to
identify the physical end of a medium, or the end of the used
portion of a medium, or the end of the wanted portion of data
recorded on a medium. The position of this character does not
necessarily correspond to the physical end of the medium.
26 SUB (SUBSTITUTE) - A control character used in the place of a
character that has been found to be invalid or in error. SUB
is intended to be introduced by automatic means.
-------------------------------------------
Information Separators
-------------------------------------------
28 FS (FILE SEPARATOR) - A control character used to separate and
qualify data logically; its specific meaning has to be specified
for each application. If this character is used in hierarchical
order, it delimits a data item called a file.
29 GS (GROUP SEPARATOR) - A control character used to separate and
qualify data logically; its specific meaning has to be specified
for each application. If this character is used in hierarchical
order, it delimits a data item called a group.
30 RS (RECORD SEPARATOR) - A control character used to separate and
qualify data logically; its specific meaning has to be specified
for each application. If this character is used in hierarchical
order, it delimits a data item called a record.
31 US (UNIT SEPARATOR) - A control character used to separate and
qualify data logically; its specific meaning has to be specified
for each application. If this character is used in hierarchical
order, it delimits a data item called a unit.
-------------------------------------------
Controls for Code Extensions
-------------------------------------------
15 SI (SHIFT IN) - A control character which is used in conjunction
with SHIFT OUT and ESCAPE to extend the graphic character set of
the code. It may reinstate the standard meanings of the octets
which follow it. The effect of this character when using code
extension techniques is described in International Standard ISO
2022.
14 SO (SHIFT OUT) - A control character which is used in conjunction
with SHIFT IN and ESCAPE to extend the graphic character set of
the code. It may alter the meaning of octets 33 - 126 (dec.).
The effect of this character when using code extension techniques
is described in International Standard ISO 2022.
27 ESC (ESCAPE) - A control character which is used to provide
additional control functions. It alters the meaning of a limited
number of contiguously following bit combinations. The use of this
character is specified in International Standard ISO 2022.
|
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sat Jul 20, 2002 2:08 pm Post subject: |
|
|
| Why don't you use the Character Map, that's standard in Windows??? |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sat Jul 20, 2002 7:30 pm Post subject: |
|
|
Same reason I use my own calculator and text editor,
even though Windows has both...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sat Jul 20, 2002 7:38 pm Post subject: |
|
|
Yes, that's true, but why would you make your own Character Chart, like Garrett, if it's there already???
In the Netherlands people say: Why do it the easy way if it can be the hard... |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|