Computer Science Canada

Using Past String arrays and repeats in a new string array

Author:  BetterthanNothin [ Tue May 28, 2019 9:23 am ]
Post subject:  Using Past String arrays and repeats in a new string array

I'm trying to make a new string array but it does not work. It utilizes another string array and a repeat function. Is there anyway to get around this fact?

Turing:


const subject1 : array 1 .. 3 of string := init ("Angle","Axe","Angel")
const subject2 : array 1 .. 3 of string := init (repeat(" ",5) + "Angel", subject1(2), subject1(3))



I'm using version 4.11


: