× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Good Morning.

<snip>

> I need some clarification, please.
> I have followed some threads that discuss using a data structure for as a
> template and using the BASED() keyword. According to what I understand I
> read, the data structure is supposed to occupy no storage.
> 
> I have done something I believe is similar to examples I have seen.
> However, I do not see any difference in the program object size (verses 
> not
> using the BASED() keyword). 


</snip>

Creating BASED data structures, based on pointers don't occupy storage -- at 
run time. This should make no difference in the program object size 
(actually, all things being equal, because you also have a pointer defined, 
your module objhect might be a slight bit bigger).

The difference it will make is when you run the program, and it allocates 
storage for these variables. If you have a variable, or a data struct, no 
storage is allocated to it. Run time is where the improvement is. 




-- 
"Enter any 11-digit prime number to continue..."

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.