[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Problem with )DUMP
From: |
Christian Robert |
Subject: |
[Bug-apl] Problem with )DUMP |
Date: |
Sun, 29 Mar 2015 14:12:41 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
)clear
CLEAR WS
⎕pw←1000
)copy Convert2 ∆length
SAVED 2015-03-27 16:52:16 (GMT-4)
24 ⎕cr ∆length
┌2─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌5────┐
┌13──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││meter│ 2┌2─┐ ┌2─┐ ┌2─┐ ┌2─┐ ┌2─┐ ┌5────┐ ┌2─┐ ┌9────────┐
┌6─────┐ ┌4───┐ ┌4───┐ ┌4───┐ ┌4───┐ ││
│└─────┘ ││nm│ │um│ │mm│ │cm│ │dc│ │meter│ │km│ │lightyear│
│parsec│ │inch│ │feet│ │yard│ │mile│ ││
│ │└──┘ └──┘ └──┘ └──┘ └──┘ └─────┘ └──┘ └─────────┘
└──────┘ └────┘ └────┘ └────┘ └────┘ ││
│ │┌5────┐ ┌5────┐ ┌6─────┐ ┌5────┐ ┌4───┐ ┌→┐ ┌6─────┐
┌18────────────────┐ ┌14────────────┐ ┌8───────┐ ┌8───────┐ ┌8───────┐
┌10────────┐││
│ ││v÷1E9│ │v÷1E6│ │v÷1000│ │v÷100│ │v÷10│ │v│ │v×1000│
│v×9454254955488000│ │v×3.0856776E16│ │v×0.0254│ │v×0.3048│ │v×0.9144│
│v×1609.344│││
│ │└─────┘ └─────┘ └──────┘ └─────┘ └────┘ └─┘ └──────┘
└──────────────────┘ └──────────────┘ └────────┘ └────────┘ └────────┘
└──────────┘││
│
└∊───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘│
└∊∊────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
)dump test
DUMPED WORKSPACE 'test'
TO FILE '/home/xtian/workspaces/test.apl'
(0 FUNCTIONS, 20 VARIABLES)
)load test
loading )DUMP file /home/xtian/workspaces/test.apl...
WAS CLEAR WS
24 ⎕cr ∆length
┌2────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌5────┐
┌26─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││meter│ │┌2─┐ ┌2─┐ ┌2─┐ ┌2─┐ ┌2─┐ ┌5────┐ ┌2─┐ ┌9────────┐ ┌6─────┐ ┌4───┐
┌4───┐ ┌4───┐ ┌4───┐ ┌5────┐ ┌5────┐ ┌6─────┐ ┌5────┐ ┌4───┐ ┌→┐ ┌6─────┐
┌18────────────────┐ ┌14────────────┐ ┌8───────┐ ┌8───────┐ ┌8───────┐
┌10────────┐││
│└─────┘ ││nm│ │um│ │mm│ │cm│ │dc│ │meter│ │km│ │lightyear│ │parsec│ │inch│
│feet│ │yard│ │mile│ │v÷1E9│ │v÷1E6│ │v÷1000│ │v÷100│ │v÷10│ │v│ │v×1000│
│v×9454254955488000│ │v×3.0856776E16│ │v×0.0254│ │v×0.3048│ │v×0.9144│
│v×1609.344│││
│ │└──┘ └──┘ └──┘ └──┘ └──┘ └─────┘ └──┘ └─────────┘ └──────┘ └────┘
└────┘ └────┘ └────┘ └─────┘ └─────┘ └──────┘ └─────┘ └────┘ └─┘ └──────┘
└──────────────────┘ └──────────────┘ └────────┘ └────────┘ └────────┘
└──────────┘││
│
└∊──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘│
└∊∊───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
⍴ ∆length
2
⍴ 2⊃∆length
26
The shape of ∆length[2] has changed
Xtian.
- [Bug-apl] Problem with )DUMP,
Christian Robert <=