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