#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Thu, 03 Nov 2016 22:51:16 +0100
changeset 20770 46d2fd1b00a5
parent 20769 174ac2f6d41d
child 20771 bc02f6854efa
#FEATURE by cg class: ReadEvalPrintLoop changed: #cmd_show:
ReadEvalPrintLoop.st
--- a/ReadEvalPrintLoop.st	Thu Nov 03 22:38:29 2016 +0100
+++ b/ReadEvalPrintLoop.st	Thu Nov 03 22:51:16 2016 +0100
@@ -319,8 +319,10 @@
     what notNil ifTrue:[
         (what startsWith:'var') ifTrue:[
             Workspace notNil ifTrue:[
-                Workspace workspaceVariables keysAndValuesDo:[:nm :h |
-                    errStream nextPutAll:nm; nextPutAll:' -> '; nextPutLine:h value printString.
+                Workspace workspaceVariables keys asOrderedCollection sort do:[:nm |
+                    |holder|
+                    holder := Workspace workspaceVariables at:nm.
+                    errStream nextPutAll:nm; nextPutAll:' -> '; nextPutLine:holder value printString.
                 ].
             ].
             ^ self.