Decision tables: Difference between revisions

m
m (→‎{{header|J}}: require 'strings' for J6; tweak code style)
Line 3:
 
=={{header|J}}==
require 'strings' NB. Backwards compatibility with J6
 
'''Solution''':<lang j>( , (,.~'_NAMES',L:0~]) ;:'RULES ACTIONS' ) =: , > split&.|:L:1 }.&.> (split~ (<'Actions:') i.&1@:= {."1) }."1 TAB cut&> LF cut noun define
Printer troubleshooter:
Anonymous user