The Dink Network

Reply to Re: The Intro-duck-tion

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 17th 2018, 11:40 AM
spike.gif
SlipDink
Peasant He/Him United States bloop rumble
2nd generation. No easy way to be free. 
@ Toof:
> I always thought that int is short of initiate or something, it never occurred to me that int is probably integer. Is that integer sprite's object number that is generated automatically or what?

To quote the Dink Bible*, "The only type of variables that may be defined in DinkC are 32-bit integers (range of values +2147483647 to -2147483648)." So, yes, you are right. In your example, &someSprite is indeed an integer that becomes an "&active_sprite" number for this object, suitable for use in any sp_xxxxx() function, etc.

*=DINKC Reference v3.1 text file.