Home > Available Help Files > PC-DMIS BASIC Language > Language Reference A – Z > Asc Function > Example:
Current Help System: PC-DMIS BASIC (View Core Help)
Example:
Sub Main ()
Dim I, Msg ' Declare variables.
For I = Asc("A") To Asc("Z") ' From A through Z.
Msg = Msg & Chr(I) ' Create a string.
Next I
MsgBox Msg ' Display results.
End Sub