Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Yes, I checked the help file and raise still works in RGSS2, it's just no longer a reserved word like it was in its predecessor (RGSS). It's now just a built-in function according to the Help File. If you'd like to no more about the usage of "raise", I copied an excerpt out of the Help File:
Throws an exception. In the first format, throws the last exception again. In the second format, given a string argument, throws a RuntimeError exception with the given string as a message. In the third format, throws the exception if the argument is an exception object. In the last format, throws the exception specified in the first argument with the message given in the second argument.
Thrown exceptions can be trapped with a rescue clause in begin.
raise is not a reserved word in Ruby, but rather an built-in function.
This post has been edited by The Law G14: Aug 31 2011, 06:08 PM
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One