メインコンテンツまでスキップ
バージョン:25.2

hexadecimal, hex

  • keyword for number formatting — as hexadecimal, as hex

  • new in 1.67

  • a variable’s format may be set to hex to cause it to display in hexadecimal

  • Examples: +

     put (9+4) as hex —> 0xD
     put 13 into codeNum
    set codeNum's format to "hexadecimal"
    put codeNum —> 0xD
    add 2 to codeNum
    put codeNum —> 0xF