Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Seq function ====== ==== Description ==== Returns the numeric value of an ASCII character (0-255). ==== Syntax ==== //ASCII_value// = **Seq**(//expression//) ==== Parameters ==== The Seq function has the following parameters. ^Parameter^Description^ |//expression//|The first character of the value that is specified in //expression// is converted from its ANSI character code to its corresponding numeric value. Any constant, variable, or another intrinsic function may be specified by the expression.| ==== See Also ==== [[char|Char()]] ==== Example ==== <code> /* The first example assigns the decimal equivalent of the string value "B" to the variable identifier Num. The ANSI character code for 'B' has a decimal code value of 66. Therefore, Num would be assigned the value 66. */ Num = Seq("B") /* In the following, more complex example, the decimal equivalent of each character of the character string "REVELATION" is concatenated, in RetVal. */ /* This example results in "82 101 118 101 108 97 116 105 111 110" */ RetVal = "" name = "Revelation" For i = 1 To Len(name) RetVal = RetVal : Seq(name[ i, 1 ]) : " " Next </code> guides/programming/programmers_reference_manual/seq.txt Last modified: 2024/06/19 20:20by 127.0.0.1