x = "A"
y = "B"
z = x
i = 15
j = 2 * i / 10
column = z
row = j
OUTPUT column + row
code = "treasure"
code[0] = "T"
column = code[2]
row = LENGTH(code)
row = row - 2
OUTPUT column + row
longitude = 39
lattitude = 45
IF lattitude < longitude THEN
row = longitude - lattitude
column = "C"
ELSE
row = lattitude - longitude
column = "K"
END IF
OUTPUT column + row
row = 1
FOR i FROM 1 TO 4
row = row + 2
NEXT i
message = "Pirates of the Carribean"
column = message[row]
OUTPUT column + row
row = 3
message = "Atlantic Ocean"
FOR i FROM 1 TO 4
row = row + i
NEXT i
row = row DIV 2
column = message[3]
OUTPUT column + row
FUNCTION square(number)
RETURN number * number
END FUNCTION
row = square(3)
column = LEFT("Blackbeard",1)
OUTPUT column + row
position = "Long. 37.4, lat. 112.9"
longitude = LEFT(position,10)
lattitude = RIGHT(position,10)
row = RIGHT(longitude,1)
IF LENGTH(position) > 10 THEN
column = "J"
ELSE
column = "G"
END IF
OUTPUT column + row
code = "Pacific Ocean"
row = 0
WHILE code[row] != "f"
row = row + 1
WHILE END
column = RIGHT(code,1)
OUTPUT column + row
column = CHR("75")
row = ASCII("A")
IF column=="K" THEN
row = row - 60
ELSE
row = row + 60
END IF
OUTPUT column + row
letters = ["G", "K", "C", "E", "J", "D"]
column = letters[0]
FOR i FROM 0 TO 5
IF letters[i] < column THEN
column = letters[i]
row = i
END IF
NEXT i
OUTPUT column + row
row = 10
FOR i FROM 0 TO 10 STEP 2
row = row + 10
NEXT i
column = ASCII(row)
row = row / 10
OUTPUT column + row
high = 14
low = 8
WHILE high > low
low = low + 1
high = high -1
END WHILE
row = high MOD 2
column = RIGHT(LEFT("pirate",4),1)
OUTPUT column + row