Post Reply 
Color value from GETPIX_P returns unexpected result
02-03-2016, 04:20 PM (This post was last modified: 02-03-2016 09:02 PM by Carlos295pz.)
Post: #9
RE: Color value from GETPIX_P returns unexpected result
A string variable can contain up to 65,535 chars, and stored data can be from 0 to 65,535 (2 bytes).

mystring (1):= 0;
mystring (65535):= 65535;

If larger values are assigned, the data is cut:
0 = 0
1 = 1
...
65535 = 65535
65536 = 0 (don't use)
65536 + 1 = 1 (don't use)
65536 + 2 = 2 (don't use)
...
65536 * 3 + 1 = 1 (don't use) .....

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Color value from GETPIX_P returns unexpected result - Carlos295pz - 02-03-2016 04:20 PM



User(s) browsing this thread: 3 Guest(s)