Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PASCAL

pascal cheat sheett

type
   ch_array = array[char] of 1..26;
var
   alphabet: ch_array;
   c: char;

begin
   ...
   for c:= 'A' to 'Z' do
   alphabet[c] := ord[m];  
   (* the ord() function returns the ordinal values *)
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #pascal #cheat #sheett
ADD COMMENT
Topic
Name
7+2 =