Frank,
I've tested your question and you must be using NT or 2000 OS!
I get a crash also!
Here's what the HTML help states about this function!
"The TOTALALLOC parameter allows you to determine the amount of dynamic
memory allocated to R:BASE. Unless you ZIP out to another program this
number should not change during an R:BASE session.
This may not return valid information under R:BASE for Windows"
I've found that their are several differences on the command and function
level that operate differently between OS's and version of Rbase!
Best regards,
Oma
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Frank Radice
Sent: Wednesday, August 22, 2001 6:27 PM
To: RBASE mailing list (E-mail)
Subject: ISTAT('TotalAlloc')
Any code that refers to (ISTAT('TotalAlloc')) causes RB6.5++ (Windows) to
generate an error. The message says "RBG65.exe has generated errors and
will be closed by windows".
The error log shows: Application exception occurred: App: (pid=452)
Exception number: c0000005 (access violation)
Task list: 452 RBG65.exe
Dump: eax=017378e8 FAULT ->006a4576 8b00 mov eax,[eax]
ds:017378e8=????????
I got this error for the following code: SET V vTest =
(ISTAT('TotalAlloc')) ...and also for... If (ISTAT('TotalAlloc')) < 100000
THEN...
Does anyone ever use this ISTAT parameter? It works OK under RB6.5++ (DOS).
The Online Documentation for 'TotalAlloc' says "This may not return valid
information under R:Base for Windows". I believe there is a BIG difference
between "not return valid info" and "generated errors and will be closed by
windows".
Any thoughts?
Frank Radice
plywoodsupply.com