![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Hugo and Charles,
The reason you don't find much about SetCurrentDirectory and friends is that
they are Windows API functions and we really encourage you to download the
API help yourself, from:
http://www.inprise.com/devsupport/borlandcpp/patches/BC52HLP1.ZIP
We have debated what to do about all the API calls, and we are looking into
retrofitting at least some stack comments on all the imported functions.
However, that will take us some time. In the mean time, and even after we
do that, the API help files are invaluable.
As far as increasing memory is concerned, I see that the word INCREASE must
have had its name changed. There's a word SET-MEMSIZE but I suspect there
is more to it than that. However, Rick's on vacation this week, so we'll
have to wait till he gets back before we can find out the real answer. ;(
Dennis Ruffer
> -----Original Message-----
> From: talk_at_forth.com [mailto:talk_at_forth.com]
> Sent: Wednesday, December 30, 1998 10:47 AM
> To: Members of SF Talk
> Subject: RE: SFTALK
>
>
> Original sender: ForthCAD <mail_at_forthcad.com>
> I you type "ALL WORDS DIR" you can see the following:
>
> -----[436B] FORTH ---------------------------------------------
> DIRSTACK DIR DIRECTDLL/PASCAL SetCurrentDirectory
> GetCurrentDirectory
>
> But I don't know the stack usage... not found in any help file nor =
> sample source file... Its a big problem for a lot of native words...
>
> I try this
>
> >Z" \temp" setcurrentdirectory .
> >cd
>
> >pad getcurrentdirectory dup .
> >pad swap type
>
> Thus, probably:
>
> SetCurrentDirectory ( pszDirPath -- flag )
> where
> -pszDirPath : a null terminated string
> -flag : TRUE when all OK
>
> GetCurrentDirectory ( addr -- nszStrLen )
> where
> -addr : buffer to hold a z-terminated string
> -nszStrLen : the sz-string lenght.
>
> sorry - nothing about CreateDirectory
> - nothing about increase
>
> >From Charles Melice (Belgium)
>
>
> ----------
> From: talk_at_forth.com
> Sent: mardi 29 d=E9cembre 1998 19:40
> To: Members of SF Talk
> Subject: SFTALK
>
> Original sender: "Timmerfabriek Overbeek" <tifa.overbeek_at_introweb.nl>
> Dit is een meerdelig bericht in MIME-indeling.
>
> ------=3D_NextPart_000_0008_01BE3349.2154FE40
> Content-Type: text/plain;
> charset=3D"iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Which words have I to use to create, delete or change an directory?
>
> I want to increase memory. I supposed i have to do that with the
> word 'INCREASE", but swisforth doesn't know it, however you described =
> =3D
> it in
> the manual. Do I something wrong?
>
> with kind regards,
> Hugo Overbeek
> Holland.
.
Received on Wed Dec 30 1998 - 11:30:43 PST
This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 03:04:26 PST