Decision tables: Difference between revisions

Content added Content deleted
m (→‎{{header|J}}: (another inconsequential change))
Line 26: Line 26:
'q a'=.x
'q a'=.x
smoutput 'Having trouble? Let''s track down the problem:'
smoutput 'Having trouble? Let''s track down the problem:'
options=. a #~ y {~ #. 'Y'={.@toupper@deb@(1!:1)@1:@smoutput@,&'?'&dtb"1 q
options=. a #~ y {~ #. 'Y'={.@toupper@deb@(1!:1)@1:@smoutput@,&'?'@dtb"1 q
(,~ ('/'cut'Suggested resolutions:/Solution unknown.') {::~ 0=#) options
(,~ ('/'cut'Suggested resolutions:/Solution unknown.') {::~ 0=#) options
)</lang>
)</lang>