Johnny G Junior's NoteBook Treasures: The magic of "TRACE";

Wednesday, April 16, 2008

The magic of "TRACE";

trace - what can i say. its great. trace this... trace that... trace().

What does trace do for me?

trace(); is a command that reads your script and echo's a result. For example.

i = 1; // "i" is a variable i made up by using a = sign. i equals the number 1.

trace(i); if i trace the variable i... a result box will come up when you preview (alt + enter) the result will be 1.

name = "sam";
trace (name);

Result will be sam.

Get it?

Good. bye.

No comments: