| View previous topic :: View next topic |
| Author |
Message |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Sun Feb 13, 2005 9:27 am Post subject: AND as & on button |
|
|
Hi guys
A like to put "&" on button with @chr if possible
@CHR(???) |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Sun Feb 13, 2005 9:50 am Post subject: |
|
|
Just use two &'s together - like this: &&
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Sun Feb 13, 2005 10:14 am Post subject: |
|
|
| Thanks Dread for this tip |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sun Feb 13, 2005 3:13 pm Post subject: |
|
|
Hi Filip,
The ascii code for '&' is 38.
For any chars that you want to get the ascii value of, use the @asc()
function. The ascii value is the integer that is used with the @chr()
function.
Example:
| Code: |
rem I want the ascii code for '?'
%a = @asc(?)
info Ascii -> %a@cr()"@chr("%a")" -> @chr(%a)
|
_________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
|