From: | Terje Maurset |
Date: | 27 Apr 2001 at 21:51:14 |
Subject: | Re: BlitzII Programming Restart |
Hello David
On 27-Apr-01, you wrote:
> Hi Terje
>
>> I got a few question if I'm allowed
>
> Of course, that is what this list is for :)
>
>> ? tell me wich files and dirs that exists in a destination
>> This is a big problem. I can't seem to find
>> any commands in the manual able to do this.
>
> There is no single command to do this, but there is an example of this
> provided with Blitz (either on the "Examples" disk or in the "Examples"
> drawer on the CD. You should look for the source file called mydir.bb or
> mydir2.bb.
>
> There is also an example on Aminet, and is probably better than those two
> examples:
>
> http://ftp.uni-paderborn.de/pub/aminet/dev/basic/ReadDirs.lha
The versions coming with the BlitzII is buggy. It gives an error
'Duplicated Type'. The Aminet version failed to. Is this a problem
with my version of BB2?
>
>> ? open a file, to read and write from it at random locations.
>> I found the PUT and GET commands in the Manual, even in
>> an example. But still I could NOT figure out the logic
>> how these commands work.
>
> Initially you open the file:
[...snip...]
>
> Basically you tell the commands what variable to communicate through and
> then Put will copy from the variable->file and Get will read from the file
> into the variables you specified. In the case of these files, I do not
> think you need to use FileOutput to redirect the data to the file.
>
> Hope that helps.
Mabye, not sure yet. But I think so. Need to let it sink in.
6 months since the last time you know, need to refresh some info =)
Thanks for the quick responce.
Greets,
Terje
|
-+---------------------------------------------------------------.
| |
| Real Name : Terje Maurset ( March 1978 ) |
| Location : Earth, Europe, Norway, Jessheim |
| |
| Computer : Amiga 1200 - 68040/603p+ 30/200Mhz |
| Hobby : Gfx, Programming, Preserving Fineart on the WEB. |
| To Learn : Massage, NonVerbal-Communication, Speed reading |
| MetaLanguage, Hand Drawing, Health. |
| |
`---------------------------------------------------------------+---.
| `
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie