Re: Re: RAM capacity has been exceeded


[ Follow Ups ] [ BasicCard User Forum ]

Posted by zeitcontrol (80.130.214.234) on October 15, 2004 at 10:16:35:

In Reply to: Re: RAM capacity has been exceeded posted by rui on October 15, 2004 at 07:18:52:

Hello Rui,

Thanks for the additional info,

but it was not completely possible to follow your example.

Please use the "Option Explicit" statement within the program since declaration for the variables
IDFeira$
ShadowCtrlSendContact
CtrlLstContact
are missing so neither type nor length are known.

You should know that variable of custom type "Contact" would uses 80 Bytes (4 + 30 + 16 + 30),with ZC 3.9 by default you have about 81 Bytes global ram free for user purpose.

Best of all put all related files (also the project files) in one zip file and send them either to me directly or to our devepopment/forum address.

greetings
juergen mengeling, ZeitControl cardsystems

BTW. currently the line with the put would introduce a new variable named "CtrlLstContact" which would occupied additional memory.

Also it is really not advised to use too many operation during card initialisation.
Fileoperations are also one of the slower operation (esp. for writing).
Devices (like battery powered readers) with short delays during startup might not recognize the BasicCard.



Follow Ups:


[ Follow Ups ] [ BasicCard User Forum ]