[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] string formatting notation



What would be really nice is to be able to programmatically (and not only lexically) look up the value of a variable in context.

something like this:

f = { thisFunction.lookupValue(\test) };

(
var test;

test = 100.rand;
f.value;
)

It is possible in environments:


f = { |test| test };

(
Environment.new.use {
	~test = 100.rand;
	f.valueEnvir;
}
)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail