Log In  

In an effort to easily contain 64-different characters for use in a compression table, I am seeing that if I use PRINTH() to @CLIP - that it is forcing the clipped data to be uppercase only in Pico-8.

a=""
for i=33,98 do
  c=i
  if (c!=34 and c!=92) a=a..chr(c)
end
printh(a,"@clip")

The results saved to the clipboard are:

!#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`ab

yet when pasted in Pico-8, you get:

!#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`AB

Where the last 2-characters are converted to uppercase.

So pasting with CTRL-V in Pico-8 apparently converts the entire clip to uppercase.

I would like to recommend that if you copy something to the clipboard from Pico-8, you have the option of it pasting it entirely as it is supposed to be.

printh(a,"@iclip")

"i" for ignore case for instance.

P#99805 2021-11-08 19:09 ( Edited 2021-11-08 19:34)

1

press ctrl+p to activate the "lower-case"-mode
then paste should work.

P#99815 2021-11-08 19:26 ( Edited 2021-11-08 19:27)

Ah ! Excellent, @GPI. I am not seeing that in my docs. I think I need to update my documentation for Pico-8. I knew there were changes, I didn't think there would be changes in the editor.

I also didn't want to use any of the new commands just yet until I verified they work on my cellphone for the P8 app.

Nice ! Heating up some coffee and going to read the latest docs cover to cover now to see if there is anything else I might've missed.

P#99818 2021-11-08 19:33

This kind of info is more oral knowledge, shared over the firepit or in specific bbs threads (like the one about encoding binary strings by zep).

P#99824 2021-11-08 20:17

[Please log in to post a comment]