Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

The "other" Ascii codes???

 [1/3] from: tbrownell:shaw:ca at: 8-Mar-2002 11:52


How does one create/access/manipulate the other ascii codes such as ¿ and Ø in a rebol string? TBrownell

 [2/3] from: greggirwin:mindspring at: 8-Mar-2002 15:41


Hi Terry, <<How does one create/access/manipulate the other ascii codes such as ¿ and Ø in a rebol string? >>
>> s: "¿Ø"
== "¿Ø"
>> first s
== #"¿"
>> last s
== #"Ø" To enter them in the string at the console, under Windows, you can type them as alt codes (e.g. alt+0191, alt+0216). Is that what you're after? --Gregg

 [3/3] from: carl::cybercraft::co::nz at: 9-Mar-2002 11:58


On 09-Mar-02, Terry Brownell wrote:
> How does one create/access/manipulate the other ascii codes such as > =BF and =D8 in a rebol string?
Hi Terry, Quite easy - just treat them as standard characters. ie...
>> to-decimal #"=BF"
== 191
>> southern-questionmark: to-char 191
== #"=BF"
>> append "What's it mean anyway" southern-questionmark
== "What's it mean anyway=BF" And so on. -- Carl Read