Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I dynamically allocate a 2-byte integer array of size n?

array dynamically integer size
0
10 Posted

Can I dynamically allocate a 2-byte integer array of size n?

0
10

• Yes. Size is only limited by virtual memory. ALLOCATE a string of length 2*n. (Partial) conversion to 8-byte floating point (as used by HicEst for all numerics) is via READ and WRITE with the binary format “ib2”. • Or have the array as a file on disk. If the array has e.g. 23 columns: • OPEN(File=arrayname,binary,Format=”23ib2″) and access with arrayname(row,column) for read and write.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123