PSN-L Email List Message

Subject: Re: Basic Programming Help desired?
From: Kevin Brunt k.brunt@.........
Date: Thu, 8 May 2008 20:52:58 +0100 (BST)



Hi,

This is my first post to the list, so my apologies if I've not got the etiquette                                                                                                                                            right....

What I understand the question to be is, that there is an array of byte-sized integers which are to be written to a disk file exactly as they appear in memory.

Having had a look at the manual at www.powerbasic.com what I think you need to use is the form of the PUT statement for binary files...

    PUT [#] fNum&, [RecPos], Arr()

which, I think, will write the whole of the array out as one lump.

Kevin

>Date: Thu, 8 May 2008 11:30:46 -0700
>From: Geoff 

>All I really need is to understand fully
>the programs I am using.

>Power Basic is quite good I just need to learn
>how to properly use it.
>
>I can not keep bouncing between various languages
>or I will spend my whole life and not accomplish any
>of my own personal goals.
>
>One of the biggest problems I see today
>is that this computer programming world
>has developed its own Tower Of Bable
>and you need to have an IQ OVER 100
>to master anything involving more than one language.
>It is a good ol boys club for the gifted and
>leaves average joe blo layman out in the cold.

__________________________________________________________

Public Seismic Network Mailing List (PSN-L)


[ Top ] [ Back ] [ Home Page ]