[futurebasic] Pointers, Handles, and odd characters in FB^3

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2001 : Group Archive : Group : All Groups

From: Michael S Kluskens <mkluskens@...>
Date: Sat, 10 Feb 2001 20:19:18 -0500
I've been digging for more info on pointers & handles and I'm not 
clear on some stuff I've found in the list archives and in the 
manuals.

The following are not explained in the manuals as near as I can tell 
(listed yes but not explained)

@@
^^
..  (that's two periods)

My understanding of "a.nil&" is that "a" is a pointer to a long and 
"a.nil&" is what "a" points to.

My guess at what "a..nil&" is is that "a" is a handle to a long and 
"a..nil&" is what "a" is a handle to.

Then there is "@b", is that a pointer to the variable "b"

Are these advanced concepts covered somewhere, maybe in the Book?  I 
have a hard time remembering how all this works.

Now for a C conversion question:

   h1 = GetPicture(Num);
   HNoPurge((Handle)h1);

Apparently "(Handle)h1" converts "h1" into handle (or maybe not, I'm 
guessing)?  Any suggestions as to what to do with this (ignore 
it/drop it?).

Michael
-- 
Michael Kluskens <mkluskens@...>