... code which is also allowed within the body of a FUNCTION, except for the declaration of STATIC variables. Description Extended literal code blocks are created in program code using the <|| > characters. They can be used in the same way as regular code blocks but have the advantage ...
... mHb_date() Thank you in advance Otto #xtranslate function Main() ? "Seconds {%Seconds()%} before compilation<br><br>" BLOCKS Current date is {{Date()}} Current date is mhb_date() ENDTEXT return nil
Otto, BLOCKS ... ENDTEXT search for {{ ... }} and whatever is inside {{ ... }} is "macro expanded" and replaced there and sent to Apache {{ ... }} is a standard from many "templates" systems, thats why mod_harbour ...
Dear Antonio, I mean hb_htlm() {{ ... }} would be more familiar to us CLIPPER heads. Does xTranslate also translate code inside BLOCKS ? Thank you in advance Otto
... if with the tdata class I could use those passages written with the tdatabase class such as the recall of the deleted record or the execution of blocks When i build an application i build before many small tests to try and then I insert all these pieces into my application :I saw I had some prg ...