« Return to the main article
I just get all my code headers and give them variable names, then put them together in a list and then to display it use. e,g,
T := @GetProfileField("ProfileSystem"; "DbTitle");
A := @GetProfileField("ProfileSystem"; "DbAuthor");
B := "<base href=\"" + Server_Name + "/" + @WebDbName + "/\">";
MD := @GetProfileField("ProfileSystem"; "MetaDescription");
@implode(A : B : T : MD; @NewLine);
That way I can keep all my variables and header fields in a readable order, but still get a semblance of readability when viewing page source in the browser. (I like the idea of @Repeat(Char(9); x) though.. Might start using that.
I just get all my code headers and give them variable names, then put them together in a list and then to display it use. e,g,
T := @GetProfileField("ProfileSystem"; "DbTitle");
A := @GetProfileField("ProfileSystem"; "DbAuthor");
B := "<base href=\"" + Server_Name + "/" + @WebDbName + "/\">";
MD := @GetProfileField("ProfileSystem"; "MetaDescription");
@implode(A : B : T : MD; @NewLine);
That way I can keep all my variables and header fields in a readable order, but still get a semblance of readability when viewing page source in the browser. (I like the idea of @Repeat(Char(9); x) though.. Might start using that.