Computer Science Canada

Before I start programming this...

Author:  aldreneo [ Wed Jun 21, 2006 1:41 pm ]
Post subject:  Before I start programming this...

Can I do this:
code:

% var messages:array 0..0(Is this how I do infinity) of string
% Do some crap
% If it worked add it as another part of the array "Messages (1)"
% Do some more crap
% If it worked at it to the next part of the array "Messages (2)"
% Do even more crap
% If it worked at it to the next part of the array "Messages (4)"
% Would you like to do some more crap?
% If the answer is yes add it to the next part of the array
% for messages 0..0 put messages

I want to whenever something is done get what the next free array is and add it. Once it is done print em all

Author:  Clayton [ Wed Jun 21, 2006 2:14 pm ]
Post subject: 

look in the Turing Walkthrough under flexible arrays Very Happy

Author:  aldreneo [ Wed Jun 21, 2006 4:29 pm ]
Post subject: 

Ok, I thaught so...Just wanted to make shure I could


: