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

Poke and Pick and binary!

 [1/1] from: reboler::programmer::net at: 3-May-2001 9:33


Can someone help me with the following error? Why can I swap elements of a string! with pick and poke, but not the elements of a binary! ?
>> list: "1234567890"
== "1234567890"
>> poke list 1 pick list 2
== "2234567890"
>> list: to-binary "1234567890"
== #{31323334353637383930}
>> poke list 1 pick list 2
** Script Error: Invalid argument: 50 ** Where: halt-view ** Near: poke list 1 pick list