Re: [BLACKBOX] odc##### files

From: [at]} <Gérard>
Date: Thu, 17 Feb 2011 01:56:47 +0100

----boundary-LibPST-iamunique-1434133201_-_-
Content-type: text/plain

Le mercredi 16 février 2011 à 20:56 +0000, Robert a écrit :
> Hello
>
> When editing a file BBox creates a temporary file with a name like "odc69140"
> with no extension.
>
> This is usually cleaned up when BBox closes, but can be left if it is terminated
> by the Task Manager.
>
>
> Just out of idle curiosity does anyone know what this file does, and does it
> have any potential use for the average programmer?
>
>
> Cheers
>
> Robert

Robert,

They are anonymous files created by Files.dir.New or Files.dir.Temp.

Example:

MODULE PrivTemp;
        
        IMPORT
                
                Files;
        
        PROCEDURE Do*;
                
                VAR
                        
                        l: Files.Locator;
                        f: Files.File;
                        w: Files.Writer;
                
                BEGIN (*Do*)
                        l := Files.dir.This("Priv");
                        ASSERT(l.res = 0, 20);
                        f := Files.dir.New(l, Files.dontAsk);
                        ASSERT(l.res = 0, 21);
                        w := f.NewWriter(NIL);
                        w.WriteByte(0);
                        f.Flush;
                END Do;
        
        END PrivTemp.Do;

<Ctrl-Q>PrivTemp.Do;

creates such a file in "Priv" directory.

Gérard


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1434133201_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHB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k9YIiB0byBMSVNU
U0VSVkBMSVNUUy5PQkVST04uQ0h9fQAgICAg
----boundary-LibPST-iamunique-1434133201_-_---
Received on Thu Feb 17 2011 - 01:56:47 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:18 UTC