.
D 2008-03-02T19:10:32
J assignee dkf
J cmimetype text/plain
J comment lreplace\sman\spage\sstates:\n\n"If\slast\sis\sless\sthan\szero\sbut\sgreater\sthan\sfirst,\sthen\sany\sspecified\selements\swill\sbe\sprepended\s\sto\s\sthe\s\slist."\n\nWhat\shappens\sif\slast\sis\sless\sthan\szero\sand\sequal\sto\sfirst?\sMy\suse\scase\sis\sto\ssearch\sthe\slist\sfor\san\selement\sand\sthen\sdelete\sit\sif\sit\sexists.\sOtherwise\sthe\slist\sshould\sbe\sunmodified:\n\n%\sset\sL\s{a\sb\sc}\na\sb\sc\n%\sset\si\s[lsearch\s$L\sx]\n-1\n%\slreplace\s$L\s$i\s$i\na\sb\sc\n\nThis\sobviously\sworks,\sbut\sis\sit\sguaranteed?\n
J foundin obsolete:\s8.5.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter v_f
J subsystem 17.\sCommands\sI-L
J title lreplace\sman\spage\sdescription\sfor\snegative\sindex\sconfusing
J type Bug
K 1905809fffffffffffffffffffffffffffffffff
U v_f
Z ddadf5bc9ba408a2b28eda091d4a82de