* for statements allowed outside menuentries?
@ 2006-12-11 5:23 adrian15
2006-12-13 13:06 ` Marco Gerards
0 siblings, 1 reply; 2+ messages in thread
From: adrian15 @ 2006-12-11 5:23 UTC (permalink / raw)
To: grub-devel
This is a question for Marco Gerards I suppose.
I was asking myself if in grub2 code I was allowed to do:
for (part in partitions) {
menuentry($part) {
whatever($part.grub_string);
}
}
or if it was all restricted to for inside menuentries like:
menuentry() {
for (hd in harddisks) {
whatever hd
}
}
adrian15
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: for statements allowed outside menuentries?
2006-12-11 5:23 for statements allowed outside menuentries? adrian15
@ 2006-12-13 13:06 ` Marco Gerards
0 siblings, 0 replies; 2+ messages in thread
From: Marco Gerards @ 2006-12-13 13:06 UTC (permalink / raw)
To: The development of GRUB 2
adrian15 <adrian15@raulete.net> writes:
> This is a question for Marco Gerards I suppose.
>
> I was asking myself if in grub2 code I was allowed to do:
>
> for (part in partitions) {
>
> menuentry($part) {
> whatever($part.grub_string);
> }
>
> }
This is something I proposed a while ago. I want to make this
possible so it will become easy to generate meny entries.
--
Marco
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-13 12:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-11 5:23 for statements allowed outside menuentries? adrian15
2006-12-13 13:06 ` Marco Gerards
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.