Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Using Past String arrays and repeats in a new string array
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
BetterthanNothin




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: