User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
hpl2:amnesia:script_language_reference_and_guide:types [2013/01/03 13:00]
hpl2:amnesia:script_language_reference_and_guide:types [2013/01/03 14:18] (current)
thegreatcthulhu Deleted a sentence... Apparently, it was not true! :D Good!
Line 132: Line 132:
 string aString = ""​ + anInteger;​ //​ "​10"​ is stored in aString variable string aString = ""​ + anInteger;​ //​ "​10"​ is stored in aString variable
 </​code>​ </​code>​
-//​Note:// ​ Due to implementation details, when strings are passed as parameters to functions, they must always be passed by reference; otherwise, the game might crash, or the script will simply stop executing. 
hpl2/amnesia/script_language_reference_and_guide/types.txt ยท Last modified: 2013/01/03 14:18 by thegreatcthulhu