This page will list tips about writing in LassoScript syntax and Classic "Brackets" syntax.
If you already write most of your code separated from your HTML layout, you're on the right way, read on :)
There is 3 ways to embed your code inside a Lasso-served page: 1.using an opening and a closing brackets , followed by a carriage return.
[
lasso_code('example');
this = is_just('an_example');
//this is a comment
]
2. using <?LassoScript ... ?>
<?LassoScript lasso_code('example'); this = is_just('an_example'); //this is a comment ?>
These two examples behave exactly the same.