This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
mistamadd001's profile picture

[fixed]No error, just not doing as programmed (I think)

Started by mistamadd001, 23 May 2014 - 11:23 AM
mistamadd001 #1
Posted 23 May 2014 - 01:23 PM
I wrote a programme a while ago and whilst trying to tidy things up I wrote a few functions to call instead of writing the functions out fully each time i want them called. The problem is that now all I get is a blank screen and no prints are shown. If someone could look at this and get back to me that would be great


www.pastebin.com/KAkJWj1t

Cheers
Edited on 24 May 2014 - 11:51 PM
mistamadd001 #2
Posted 24 May 2014 - 04:04 AM
Some more info, I have written a bunch of debugging prints into the code prior to the first serverlog() function being called, and have found that this is where the system is failing to do as requested, making me think I have written the serverlog() function wrong. can someone look at that part of the code and get back to me.
mistamadd001 #3
Posted 24 May 2014 - 04:17 AM
OK, I think I just figured out why it wasn't working, I had forgotten to set the variable sId prior to the first call, the only reason why I didn’t pick up on that earlier is because I wasn’t getting any errors.
Zudo #4
Posted 24 May 2014 - 06:51 PM
When you want to update the original post, you can use the edit button on the bottom right of your post.