Convert Character Variable to Integer Variable

B

Brad Smallridge

Guest
How do you convert a character variable to an integer variable?

variable my_char_v : character;
variable file_size : integer;

.. . .

file_size := ???? my_char_v;
 
Brad Smallridge wrote:
How do you convert a character variable to an integer variable?
variable my_char_v : character;
variable file_size : integer;

file_size := ???? my_char_v;

file_size := character'pos(my_char_v);


-- Mike Treseler
 

Welcome to EDABoard.com

Sponsor

Back
Top