generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: `print(...)` is not a lua function

Previous Thread :: Next Thread 
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
06 Jan 2013 08:47 AM

print(print)
> function: ********

print(type(print))
> function

print(getmetatable(print))
> nil

coroutine.create(print)
> bad argument #1 to 'create' (Lua function expected)

What is this sorcery?
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
06 Jan 2013 08:53 AM
coroutine.wrap(wait) errors as well. I'm going to assume that you can only reference functions you define inside of the script.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
06 Jan 2013 08:56 AM
@Solotaire

That would be because the wait function is Implemented in C++
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
06 Jan 2013 09:28 AM
It obviously isn't a Lua function because it has to do communication with the application to present debug data in the Output.
Report Abuse
ColorfulBody is not online. ColorfulBody
Joined: 17 Jun 2012
Total Posts: 2353
06 Jan 2013 10:05 AM
"That would be because the wait function is Implemented in C++"

Ugh, why must everyone everyone capitalize the first letter of random words ("Implemented", in this case)? I'm seeing this everywhere on the Internet and I just don't understand why people do it. It's like putting two spaces after periods. It's obviously incorrect, but people still do it for some reason, or perhaps for no reason at all.

I mean, I really just don't get it. Everyone should have learnt in school that capitalization is for the first word in a sentence and for proper nouns (and also for some other cases). Not for capitalizing random words because you feel like it!
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
06 Jan 2013 10:09 AM
They are probably children, yet to master the rules of capitalization in English.
Report Abuse
Luc599345 is not online. Luc599345
Joined: 25 Jul 2008
Total Posts: 1169
06 Jan 2013 10:09 AM
Maybe they can't spell it so they google'd it and they copy-pasted? :3
Report Abuse
129K is not online. 129K
Joined: 23 Aug 2011
Total Posts: 19010
06 Jan 2013 10:10 AM
@Color

Why are you focused on sentence structures instead of the actual post itself?
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
06 Jan 2013 10:10 AM
"It's like putting two spaces after periods. It's obviously incorrect, but people still do it for some reason, or perhaps for no reason at all."

One of my English professors insisted on our essays having two periods after spaces.
Also, as a general rule, try not to correct grammar, mechanics, usage, or spelling, as you are likely to make at least one mistake in your own post.
Report Abuse
ColorfulBody is not online. ColorfulBody
Joined: 17 Jun 2012
Total Posts: 2353
06 Jan 2013 10:14 AM
@Solotaire

What sort of English teacher do you have? He was actually telling you to put two spaces after periods? He could've at least have informed himself before teaching such things to his students...
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
06 Jan 2013 10:16 AM
She, but yes.
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
06 Jan 2013 10:16 AM
@Solotaire

Oh, how cute, it's trying to make us feel guilty.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
06 Jan 2013 10:18 AM
@ColorfulBody

Most likely because my tablet, split up I and mplemented due to my own typing error. So when I spaced them back together.....it ended up like that.

Why must everyone be so stuck up about idiotic rules?

Yes, I'm mocking you.
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
06 Jan 2013 10:18 AM
Hm?
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
06 Jan 2013 10:19 AM
@MrNicNac

Because the alternative is that we argue about serious issues, which would result in despair.
Report Abuse
129K is not online. 129K
Joined: 23 Aug 2011
Total Posts: 19010
06 Jan 2013 10:19 AM
@MrNicNac

I love you.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
06 Jan 2013 10:19 AM
How scary. Actually being serious in this blasted forum for once?
Report Abuse
ColorfulBody is not online. ColorfulBody
Joined: 17 Jun 2012
Total Posts: 2353
06 Jan 2013 10:20 AM
@MrNicNac

I'm not stuck up about the fact that you did it. I'm stuck up about the fact that everyone in the Internet does it for some reason.

I can perfectly understand that it's because of your tablet and that you didn't bother to correct it; editing text on tablets is indeed pretty hard, and it is a perfectly forgivable error. But not when the Internet is filled with it, and I'm pretty sure all those errors out there aren't because of tablets splitting words or whatever.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
06 Jan 2013 10:20 AM
@129K

I know. I love you too.
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
06 Jan 2013 10:20 AM
@MrNicNac

I'm glad you understand.
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
06 Jan 2013 10:21 AM
Ugh, it's taking so long to upload my reply to http://www.roblox.com/Forum/ShowPost.aspx?PostID=86374040.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
06 Jan 2013 10:21 AM
@ColorfulBody

I'm not asking for you to forgive my mistake due to it being a more-so unwilling error. I'm just wondering why it bothers you sooooo much? (Oh no, I put too many o's!)

It's not that hard to simply ignore it and prove maturity by it, that is, I can understand if you don't mind showing how irritated you can get and that maturity is not something to be cared for.

At the same time, maturity is an arbitrary concept in the eyes of the beholder....
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
06 Jan 2013 10:23 AM
'One of my English professors insisted on our essays having two periods after spaces.'

This is quite odd. Having two periods after a space? I'm going to assume that was a mix-up :3

I wouldn't have done it. I would have rather failed her marking on punctuation than done something like that.
Report Abuse
129K is not online. 129K
Joined: 23 Aug 2011
Total Posts: 19010
06 Jan 2013 10:23 AM
"(Oh no, I put too many o's!)"

I just... love this
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
06 Jan 2013 10:24 AM
@MrNicNac

Stop that.
Ignoring things that bother one is an quick way to induce chronic depressions.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image