date_print.hhf macro ... for your include folder
Brought to you by:
evenbit
// FILE NAME: "date_print.hhf"
// Save this file in your hla\include folder, then
// when ever you want to use date_print( someDateRec ),
// just add this line in your 'includes' ...
// #include("date_print.hhf")
#macro date_print( date_Rec_ToPrint );
date.a_toString( date_Rec_ToPrint );
stdout.puts( eax );
str.free( eax );
#endmacro
Logged In: YES
user_id=1241475
Originator: NO
This is not a Bug. Moving this to the Feature Request tracker.
Logged In: YES
user_id=2022655
Originator: YES
// FILE NAME: "date_print.hhf" // version 2 : preserves eax
// Save this file in your hla\include folder, then
// when ever you want to use date_print( someDateRec ),
// just add this line in your 'includes' ...
// #include("date_print.hhf")
#macro date_print( date_rec_to_print );
push( eax );
date.a_toString( date_rec_to_print );
stdout.puts( eax );
str.free( eax );
pop( eax );
#endmacro