Opened 15 years ago
Last modified 14 years ago
#950 closed enhancement
Ois.UseCache — at Initial Version
Reported by: | Javier Portugal | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | normal | Milestone: | Mantainance |
Component: | OIS | Version: | 2.0.1 |
Severity: | major | Keywords: | |
Cc: |
Description
Intenté hacer una función para no usar Ois.UseModule cuando lo que se pretende es generar como caché el contenido de un archivo
Variable global
Real Alg.SPFRes.LoadFromOza = 1;
Set Ois.UseCache(Text fileTOL, Text fileOza)
{
Set If( And( Alg.SPFRes.LoadFromOza, FileExist(fileOza) ),
Set Ois.Load(fullFileOza)[1],
{
Real Ois.Store(Include(fileTOL), fileOza);
Set Ois.Load(fileOza)[1]
}
)
};
El problema es que al cargar desde el oza las funciones y objetos no son globales como si se hubiese cargado con Include u Ois.UseModule