Post Reply 
Social Buttons
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What pointer should hold ?
10-20-2018, 04:53 AM
Post: #1
What pointer should hold ?
Yes what pointer variable should be or should hold.
From my point of view pointer should hold integer number
which represent adress of specific variable no mather what
type of variable is ...and nothing else so
on this way can hold address of any type of variable.

Code:
[b]type$[/b] a = "type", b = "basic" ' addr_a=1, addr_b=2
[b]type! [/b]p = 0

p = @(a)  ' -> addr(a) - 'p' hold virtual addres of 'a'(index) */

set b = cont(p) 'set 'b' with content of p_addresOf_a
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: