View Single Post
Old 10-28-2001, 07:58 AM   #14
Mirac Honorguard
Red Wizard of Thay
 

Join Date: August 21, 2001
Location: Limburg, Netherlands, Europe
Age: 42
Posts: 894
Quote:
Originally posted by Zbyszek:
Sorry but like Lord Shield said it was pseudocode, not Pascal code. I havent used Pasal from 5 years.

BUT this is use of if instruction:
if (condition_true) then
{ program_statement; }

if (condition_true) then
{program_statement;}
else {program_statement;}

I guess you have also read your data from file or keyboard. In Lord Shield code he assumed that he already has whole sequence in one string.

I will repeat - Lord Shield code is pseudocode - do not show it to teacher
LOL, I think my teacher would LHAO

Thanks for the advice


------------------

Lady Menqel, Protector of IW's, smiter of evil

http://www.angelfire.com/rpg2/mirac
- Dualled Swashbuckler/Fighter
- Fellow Table Dancer of the Jerome's Table dancer group
- Spell formulater of the IW peace-keeping force
- Thanks to Sazerac for the great sig picture
Mirac Honorguard is offline