I know nothing about Mastercam, but is there a command anything like
CHR
or
CHAR
followed by the number of the ASCII character which you want?
Then, make a new variable to hold your character's ASCII value
thus:
Dim IntMyChar as Integer
IntMyChar = 64 'possible intial value
'start loop
IntMyChar = (IntMyChar + 1)
'trap values to within the range of upper case ASCII values
If IntMyChar < 64 Then IntMyChar = 90
ElseIf IntMyChar > 90 Then IntMyChar = 65
End If
IF [VATOL EQ 01 ] NAT(CHAR(IntMyChar))
NAT(CHAR(IntMyChar)) G00 G90
etc.
My syntax may not be exactly what you would use, but maybe it will give you an idea.
You may also need a method to save the value of IntMyChar (or whatever you choose to call it) as a global value, and this is usually done by defining the variable as global.