×
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.
From: Alan Campin
The same thing in a C program needs 270 bytes.
What happens if you code the following in main()
static int x = 0;
I haven't tried it, but my guess would be that the the static storage used by the C program would also be around 4K. If I understand correctly, storage under IBM i is allocated in 4K minimum blocks using system APIs. Wouldn't that be what the compiler would do?
-Nathan
As an Amazon Associate we earn from qualifying purchases.
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.