Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /charles/src/ai302/examples/anagram2/

charles
Discussion topic

Back to topic list

CVS update: /charles/src/ai302/examples/anagram2/

Reply

Author matthewjheaney
Full name Matthew Heaney
Date 2005-05-18 08:08:48 PDT
Message User: matthewjheaney
Date: 2005/05/18 08:08:48

Modified:
   charles/src/ai302/ex​amples/anagram2/anag​ram.adb

Log:
 vector sort operation is now nested in generic_sorting nested package

File Changes:

Directory: /charles/src/ai302/e​xamples/anagram2/
====================​====================​========

File [changed]: anagram.adb
Url: http://charles.tigri​s.org/source/browse/​charles/src/ai302/ex​amples/anagram2/anag​ram.adb?r1=1.3&r​2=1.4
Delta lines: +3 -3
-------------------
--- anagram.adb 1 Oct 2004 01:26:06 -0000 1.3
+++ anagram.adb 18 May 2005 15:08:46 -0000 1.4
@@ -89,10 +89,10 @@
          return Ada.Strings.Less_Cas​e_Insensitive (LS, RS);
       end;
 
- procedure Sort is
- new Pair_Vectors.Generic_Sort;
+ package Sorting is
+ new Pair_Vectors.Generic_Sorting;
    begin
- Sort (V);
+ Sorting.Sort (V);
    end;
 
    declare

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /charles/src/ai302/examples/anagram2/ matthewjheaney Matthew Heaney 2005-05-18 08:08:48 PDT
Messages per page: