Thinking about it, it makes more sense just to <% PRINT "<img src=\"hello.jpg\">"%>
2009/5/3 Benoît Minisini <gam...@users.sourceforge.net> > > I'm trying to dynamically change an image. Here is a simple page: > > > > > > #!/usr/bin/env gbw2 > > <% > > DIM sEnv AS String > > %> > > > > <html> > > > > <% > > sEnv = "hello.jpg" > > %> > > > > <img src="<%= sEnv%>"> > > > > </html> > > > > > > This looks okay to me, but on running, <$= sEnv%> inside the <img> tag is > > not evaluated, presumably because it is inside the img tag. Is this > > expected behaviour? > > By reading the code, I noticed that "<%" and "<%=" are not taken into > account > inside HTML markups. > > Maybe it could be logical for "<%", but not for "<%=". I will fix that for > the > next Gambas 2 release. > > Regards, > > -- > Benoît > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user