Gianfrancoalongi / APLUnit

APLUnit - a library to facilitate Unit Testing and Test Driven Development of code written in Dyalog APL, developed together with Morten Kromberg (CTO Dyalog Ltd)
7 stars 5 forks source link

Remove the dependency on DISPLAY #4

Closed Gianfrancoalongi closed 11 years ago

Gianfrancoalongi commented 11 years ago

It would be nice not having to depend on DISPLAY for this lib. So the user will only load this code and nothing else.

What could it be exchanged for?

Gianfrancoalongi commented 11 years ago

Morten Kromberg suggested the following

⎕SE.UCMD

Will try this soon.

Gianfrancoalongi commented 11 years ago

⎕SE.UCMD 'display 1 2 3' seems to work fine ⎕SE.UCMD 'display hello' does not work This is unfortunate, as it might be the case that the expected value indeed is Text

Gianfrancoalongi commented 11 years ago

⎕SE.UCMD 'display ',(⍕ 'hello') also does not work. I think this means it can not replace #.DISPLAY immediately