Mailinglist Archive: yast-devel (121 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] r64348 - in /trunk/ca-management: ./ VERSION package/yast2-ca-management.changes src/CaMgm.ycp src/ca_mgm_proposal.ycp src/ca_select_proposal.ycp src/new_cert_read_write.ycp
On Št 16. Jún 2011 09:00:27 Josef Reidinger wrote:
Martin Vidner write:
On Tue, Jun 14, 2011 at 12:53:18PM -0000, jreidinger@xxxxxxxxxxxxxxxxx
wrote:

[snip]

+ }
+ string current_kind = (string) table_item[1]:"";
+ string current_name = (string) table_item[2]:"";

Actually 'foo[index]:default' already includes casting the result to
the type of 'default', so (string) is superfluous here.

Really? Interesting feature. Is it documented?...so if I have
table_item[1]:nil then type is any?

Correct.

Stano
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >