Jump to content

int to ascii ?


kleer001

Recommended Posts

In the Font SOP, how do I make it print the ascii character of an integer?

1=A, 2=B, (or whatever offset in necessary)

Or, how can I print out the uppercase alphabet with a circle, a copy, and a font?

I'm pretty sure I used to know it, but I can't recall, and the hip file is long gone.

Sad

Link to comment
Share on other sites

In the Font SOP, how do I make it print the ascii character of an integer?

1=A, 2=B, (or whatever offset in necessary)

Or, how can I print out the uppercase alphabet with a circle, a copy, and a font?

I'm pretty sure I used to know it, but I can't recall, and the hip file is long gone.

Sad

Backslash.

"\123" will print the character with decimal ascii value 123

Link to comment
Share on other sites

Cool, that works for explicit numbers, but I can't seem to get it to work with expressions:

\64 = a

but \`stamp("copy1",letter,64)` = error

or

\ch("num") = ch("num")

Same thing with doing any math to the number

\66 = b

\66+1 = b+1

So, no good. :(

I need to print out the whole alphabet using numbers from a stamp input attribute in the copy SOP.

Backslash.

"\123" will print the character with decimal ascii value 123

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...