I will be pleased to summarize LRM (Language Reference Guide), but you should read it. Everything is in the IEEE Std 1800-2012 & sect; 21.2 Mapping system tasks (Technically SystemVerilog, but these functions are identical.)
$display: print nearest values- & section; 21.2.1 Display and Recording Tasks
$strobe:$monitor: , - . $monitor ; .$write: , $display, (\n)
:
reg [3:0] a,b;
integer i;
initial begin
$monitor("monitor a:%h b:%h @ %0t", a, b, $time);
for(i=0; i<4; i=i+1) begin
$strobe("strobe a:%h b:%h @ %0t", a, b, $time);
$display("display a:%h b:%h @ %0t", a, b, $time);
case(i)
0 : a = 4;
1 : b = 1;
2 : begin end // do nothing
3 : {a,b} = 9;
endcase
$display("display a:%h b:%h @ %0t", a, b, $time);
end
end
: ( , 2)
a: x b: x @0
a: 4 b: x @0
a: 4 b: x @0
a: 4 b: x @0
a: 4 b: x @1
a: 4 b: 1 @1
a: 4 b: 1 @1
a: 4 b: 1 @1
a: 4 b: 1 @2
a: 4 b: 1 @2
a: 4 b: 1 @2
a: 4 b: 1 @3
a: 0 b: 9 @3
a: 0 b: 9 @3
a: 0 b: 9 @3