Search results
Jump to navigation
Jump to search
- ...er. We'll first discuss how to assign pointers a value, then we'll discuss null pointers. =Null Pointers= ...24 KB (4,052 words) - 08:48, 3 February 2019
- if (newSize <= 0) return null; if (newSize <= 0) return null; ...19 KB (2,870 words) - 08:50, 3 February 2019
- if (player.ActiveInventory != null) if (theItem == null) player.Say("I can't use the %s on that.", player.ActiveInventory.Name); ...39 KB (5,744 words) - 13:30, 3 June 2021
- ===NULL and Literal 0=== ...tegral and pointer types as the first parameter. Instead, a strongly typed null pointer type should defined, implicitly convertible to any pointer type or ...28 KB (4,549 words) - 12:59, 3 June 2021
- ...le Strings can still hold the value '''null'''. Remember that operating on null pointers will crash your game! ...tring is global (outside of all functions)) then it will hold the value '''null'''. ...11 KB (1,668 words) - 10:08, 3 June 2021
- char key[27]; // pad array by 1 for null terminating character char c[2]; // random character, plus null terminator ...5 KB (756 words) - 03:56, 2 June 2013
- ...(if any). If following the mouse or statically positioned this will return NULL. You can set the Character to follow using the {{link||Flashlight.SetFollow ...{{link||Flashlight.FollowingCharacter|FollowingCharacter}} property is not NULL). You can lock the flashlight's beam to a Character's position using the {{ ...14 KB (1,854 words) - 05:40, 19 August 2012
- ...), a float will have a default value of '''0.0''', a String will have a '''null''' default value, and a bool defaults to '''false'''. If these values are O ...be declared with a value. If they need to start off as someting other than null, you need to set them in a function (e.g. game_start, or one of the ;Player ...32 KB (5,332 words) - 11:53, 6 September 2022
- ...ake it optional this way then you shouldn't crash (abort) the game if it's null.'' ...5 KB (749 words) - 16:53, 28 April 2015
- if ((index < 0) || (index >= MAX_PEOPLE_COUNT)) return null; // invalid index specified Error: is_script_import: NULL pointer passed ...18 KB (2,839 words) - 02:34, 21 January 2010
- ...t value has been set for the property. This must be a string of text or be null. ...15 KB (2,008 words) - 05:09, 19 August 2012
- Returns a ViewFrame* for THEGUI's current frame or '''null''' if it's not animating. ...4 KB (536 words) - 05:37, 19 August 2012
- '''Cnpc.FollowCharacter(null);''' ...434 bytes (66 words) - 13:29, 3 June 2021