• Writing to User database

    From Bigjoe@VERT/BLUETHR to All on Sat Jan 15 14:29:00 2005
    I know using

    Setstr Joe Moo
    set_user_string user_string_note

    will work, how do I do the same thing but, with a (int_var)

    I'm using a int_var called code. It has a number in it. How do I set the users notes with that int_var

    Thanks

    Joe


    ---
    þ Synchronet þ Blue Thunder - bluethunder.dtdns.net or bluethr.synchro.net
  • From Angus Mcleod@VERT/ANJO to Bigjoe on Sat Jan 15 18:00:00 2005
    Re: Writing to User database
    By: Bigjoe to All on Sat Jan 15 2005 19:29:00

    I know using

    Setstr Joe Moo
    set_user_string user_string_note

    will work, how do I do the same thing but, with a (int_var)

    I'm using a int_var called code. It has a number in it. How do I set the use notes with that int_var

    Convert to a string first. Example:

    COPY SomeStringVar SomeIntVar

    The COPY verb will convert integers to decimal strings if the source
    variable is an integer. If you want the string to be more complex, such
    as a string with your int_var *in* it, then try:

    SPRINTF SomeStringVar "User has visited %ld times" SomeIntVar

    which embeds trailing string_ or int_var(s) in the format string at the point(s) where the specifier(s) are.


    ---
    þ Synchronet þ Where we BAJA Rob into writing our modules. The ANJO BBS
  • From Bigjoe@VERT/BLUETHR to Angus Mcleod on Sun Jan 16 06:27:00 2005
    Re: Writing to User database
    By: Angus Mcleod to Bigjoe on Sat Jan 15 2005 11:00 pm

    Thanks, That works

    Joe


    ---
    þ Synchronet þ Blue Thunder - bluethunder.dtdns.net or bluethr.synchro.net