|
Re: Convert vars to var
[Re: GPEngine]
#448781
02/21/15 10:33
02/21/15 10:33
|
Joined: Feb 2014
Posts: 73 Montreal, Qc Canada
Finstratech
OP
Junior Member
|
OP
Junior Member
Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
|
The most recent value is in MAslope[0]. This is absolutely correct. However, I insist on knowing how to convert (or transform) a series (given above) which returns a "pointer" type, into a "double" type. Otherwise, for my application, POINTER::DOUBLE error persists. Thank you
|
|
|
Re: Convert vars to var
[Re: GPEngine]
#448809
02/21/15 23:31
02/21/15 23:31
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
Thats wrong. Double is actually 8 byte in size (var is 4 byte) and can contain a MUCH bigger numbers (or much smaller, or more precise). Its an array of vars, nothing else
Last edited by Ch40zzC0d3r; 02/21/15 23:32.
|
|
|
Re: Convert vars to var
[Re: GPEngine]
#448811
02/22/15 00:11
02/22/15 00:11
|
Joined: Feb 2014
Posts: 73 Montreal, Qc Canada
Finstratech
OP
Junior Member
|
OP
Junior Member
Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
|
The way to make it not an array is to dereference it, like MAslope[0]. Thank you GP. I misunderstood at first, but now I get what you mean. MAslope[0] selects the current VAR value. Awesome @Ch40zzC0d3r Thanks. This information is out of my scope (kind of new to this), but I'll keep that in mind. Thanks all, great work
|
|
|
|