will be
powered by pygame.MarkGo program, you
must write this code:
LANGUAGE MARKGOAnd add a statement ; at the end of every non-first line.
'Hello, hello, hello'
! to visit root elements.
!HEAD.set.title:"Hello"The above code set the document title into "Hello".
css and js files like this:
!HEAD.import.js:"test.js"
!HEAD.import.css:"test.css"
? to visit variables
, you have to use
#CREATE first.
Use = to give the variable a value, e.g:
#CREATE.p;
?p = <NEW-ELEMENT p>;
Use <NEW-ELEMENT > to
make a element like <>
</>
And use + to append a value, e.g:
#CREATE.p;
?p = <NEW-ELEMENT p>;
?p + "Hello".
The program added the text "Hello" into the element,
you can add another element into it too.
#CREATE.varThe program creates a variable called var.