Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Outputting a variables value.

Outputting a variables value.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Azrith   (15 posts)  Bio
Date Sun 09 Feb 2003 01:50 AM (UTC)
Message
Hi!

Ya its me again . . . HEHE
I was just wondering if there was a way I could output the value of a variable to the log or even send it to a character.

Thanks!
Top

Posted by Azrith   (15 posts)  Bio
Date Reply #1 on Mon 10 Feb 2003 05:46 AM (UTC)
Message
Hey everyone. Just wanted to let everyone know I figured out theres a couple of ways to output the value of the variable. *Slap* I should have known before hehe. Anyway just figured Id post what I used.
send_to_pager(race_table[dumcount]->race_name, ch);

I also just want to let anyone know who reads this. USE THE LOGS bigtime and send to pager. It has saved ME HOURS of time. :) Makes debugging SOOOO much easier.

Azrith
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


9,145 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.