|Xpand suppress return value output [message #534171]
||Tue, 18 May 2010 09:39
Registered: May 2010
I'm quite new to this topic, and currently I am trying to create a small sample DSL for my Bachelor Thesis...
I succeeded in creating something like a Homepage-DSL for generating html files, and now I would like to develop another generator which creates .tex files from this Homepage DSL Model.
But I'm stuck with the problem of creating tex tables
The output of the generator should look something like:
Left upper corner&Right upper corner\\
Left lower corner&Right lower corner\\
This is a table with two columns => So i figured to use this:
«DEFINE column FOR Column»
«EXPAND element FOR elements.first()»
&«EXPAND element FOREACH elements»
The problem is that elements.remove(elements.first()) will print [ ] to my tex code. How do I suppress this output?
Any idea? Thank you!
[Updated on: Tue, 18 May 2010 09:40]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11432 seconds