Asc Function

αžαŸ’αžšαž‘αž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒ ASCII (American Standard Code for Information Interchange) αž“αŸƒβ€‹αžαž½αž’αž€αŸ’αžŸαžšβ€‹αž‘αžΈβ€‹αž˜αž½αž™β€‹αž€αŸ’αž“αž»αž„β€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšΒ αŸ”

αžœαžΆαž€αŸ’αž™β€‹αžŸαž˜αŸ’αž–αž“αŸ’αž’ αŸ–


Asc (Text As String)

αžαž˜αŸ’αž›αŸƒβ€‹αžαŸ’αžšαž‘αž”αŸ‹ αŸ–

αž…αŸ†αž“αž½αž“β€‹αž‚αžαŸ‹

αž”αŸ‰αžΆαžšαŸ‰αžΆαž˜αŸ‰αŸ‚αžαŸ’αžš αŸ–

Text αŸ– αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšβ€‹αžαŸ’αžšαžΉαž˜αžαŸ’αžšαžΌαžœβ€‹αžŽαžΆβ€‹αž˜αž½αž™Β αŸ” αž˜αžΆαž“β€‹αžαŸ‚β€‹αžαž½β€‹αž’αž€αŸ’αžŸαžšβ€‹αž‘αžΈβ€‹αž˜αž½αž™β€‹αž€αŸ’αž“αž»αž„β€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšβ€‹αž”αŸ‰αž»αžŽαŸ’αžŽαŸ„αŸ‡ αžŠαŸ‚αž›β€‹αž‡αžΆαž”αŸ‹β€‹αž‘αžΆαž€αŸ‹αž‘αž„Β αŸ”

αž”αŸ’αžšαžΎβ€‹αž’αž“αž»αž‚αž˜αž“αŸ Asc αžŠαžΎαž˜αŸ’αž”αžΈβ€‹αž‡αŸ†αž“αž½αžŸβ€‹αž‚αŸ’αžšαžΆαž”αŸ‹αž…αž»αž…β€‹αžŠαŸ„αž™β€‹αžαž˜αŸ’αž›αŸƒΒ αŸ” αž”αžΎβ€‹αž’αž“αž»αž‚αž˜αž“αŸ Asc αž‡αž½αž”β€‹αžαŸ’αžŸαŸ‚αž’αž€αŸ’αžŸαžšβ€‹αž‘αž‘αŸ αž“αŸ„αŸ‡ LibreOffice Basic αž“αžΉαž„β€‹αžšαžΆαž™αž€αžΆαžšαžŽαŸβ€‹αž€αŸ†αž αž»αžŸβ€‹αž–αŸαž›β€‹αžšαžαŸ‹β€‹αž˜αž½αž™Β αŸ” αžŠαŸ„αž™β€‹αž”αž“αŸ’αžαŸ‚αž˜β€‹αž›αžΎβ€‹αžαž½αž’αž€αŸ’αžŸαžš ASCII ៧ αž”αŸŠαžΈαž (αž›αŸαž 0-127) αž’αž“αž»αž‚αž˜αž“αŸ ASCII αž€αŸβ€‹αž’αžΆαž…β€‹αžšαž€αžƒαžΎαž‰β€‹αž›αŸαžβ€‹αž‚αŸ’αžšαžΆαž”αŸ‹αž…αž»αž…β€‹αžŠαŸ‚αž›β€‹αž˜αž·αž“β€‹αž’αžΆαž…β€‹αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹αž”αžΆαž“ αž€αŸ’αž“αž»αž„β€‹αž›αŸαž ASCIIΒ αŸ” αž’αž“αž»αž‚αž˜αž“αŸβ€‹αž“αŸαŸ‡β€‹αž€αŸβ€‹αž’αžΆαž…β€‹αž”αŸ’αžšαžΎβ€‹αžαž½αž’αž€αŸ’αžŸαžšβ€‹αž™αžΌαž“αžΈαž€αžΌαžŠ ៑៦ αž”αŸŠαžΈαžβ€‹αž•αž„β€‹αžŠαŸ‚αžšΒ αŸ”

Error codes:

5 αž€αžΆαžšβ€‹αž αŸ…β€‹αž”αŸ‚αž”αž”αž‘β€‹αž˜αž·αž“β€‹αžαŸ’αžšαžΉαž˜αžαŸ’αžšαžΌαžœ

αž§αž‘αžΆαž αžšαžŽαŸ αŸ–


Sub ExampleASC
    Print ASC("A") REM returns 65
    Print ASC("Z") REM returns 90
    Print ASC("Las Vegas") REM αžαŸ’αžšαž‘αž”αŸ‹ 76 αžαž½αž’αž€αŸ’αžŸαžšβ€‹αžŠαŸ†αž”αžΌαž„β€‹αž”αŸ‰αž»αžŽαŸ’αžŽαŸ„αŸ‡β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž–αž·αž…αžΆαžšαžŽαžΆ
End Sub

CHR

Please support us!