[solved] [worth a read] disk.getDiskID() - nil?!
Started by LBPHacker, Feb 18 2013 12:18 AM
9 replies to this topic
#1
Posted 18 February 2013 - 12:18 AM
What's happened to disk.getDiskID? Lua says it's nil. I'm just confused because it's still listed here: Disk API
#2
Posted 18 February 2013 - 12:20 AM
so if you do
print( tostring( disk.getDiskID ) )
it prints nil?
Have you tried rebooting the computer?
print( tostring( disk.getDiskID ) )
it prints nil?
Have you tried rebooting the computer?
#3
Posted 18 February 2013 - 12:23 AM
TheOriginalBIT, on 18 February 2013 - 12:20 AM, said:
so if you do
print( tostring( disk.getDiskID ) )
it prints nil?
Have you tried rebooting the computer?
print( tostring( disk.getDiskID ) )
it prints nil?
Have you tried rebooting the computer?
Yes, it prints nil. And yes, I have. disk.getDiskID doesn't point to anything. It's simply nil.
It's seems like .getDiskID is deprecated or something like that.
#5
Posted 18 February 2013 - 12:25 AM
SSP, 1.481, own (only RedPower, ComputerCraft and MiscPeripherals)
#7
Posted 18 February 2013 - 12:42 AM
table (what a surprise) - btw already thought of that
#9
Posted 18 February 2013 - 12:45 AM
It prints function names and pointers
But hey
I see what's the problem... There is no .getDiskID but there IS .getID! What the potato?! Nevermind, looks like it's the same as .getDiskID.
But hey
#10
Posted 18 February 2013 - 01:04 AM
hmmm could have changed from that version and wiki is outdated. makes sense tho disk.getDiskID well what other id did I mean?! clearly i meant the disk, im using the disk api. so i can understand that change
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











