Menu

#4 date_print.hhf macro ... for your include folder

open
nobody
None
5
2008-02-29
2008-02-29
No

// 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

Discussion

  • Nathan

    Nathan - 2008-02-29

    Logged In: YES
    user_id=1241475
    Originator: NO

    This is not a Bug. Moving this to the Feature Request tracker.

     
  • David W. Zavitz

    David W. Zavitz - 2008-03-06

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.