Dominique Delefortrie wrote:
> 
> Suppose I want to output the content of a bg fld to a TEXT file (Mac OS)
> Or only the content of fields belonging to marked cards.
> 
> I am obtaining an empty file...
> 
> AS to explain myself, this is the script:
> 
> ========
> on mouseup
>   ask file "Fichier de sortie :" with "Sortie xNotes"
>   if it is empty then exit mouseup
>   put it into laSortie
>   open file laSortie
>   go next
>   put number of marked cds into cartes
>   write recuperation(cartes) to file laSortie
>   close file laSortie
>   #open laSortie with "Tex-Edit Plus F" -- doesn't work with MC
> end mouseup
> =======
> 
> and in the card script:
> 
> ======
> function recuperation x
>   put empty into larecup
>   put return & "--------------------" & return into sep1
>   put return &
> "-------------------------------------------------------------------------------
> -" & return into sep2
>   repeat x times
>     go next marked cd
>     put bg fld "letitre" & sep1 & bg fld "letexte" & sep2 after larecup
>   end repeat
> end recuperation
> =========
> 
> With HyperCard (HC) there were only script -- I was obliged to cut the
> script in order to respect the 10 lines limit ;-)
> 
> Where is (are ;-)) the ERRORs ?
> 
> TIA, DD
> 
> PS: The 2.3 version is very appealing -- after a certain adaptation time ;-))
> Above the rest, I do appreciate the COLOR treatment (compared to HC)
> 
> domi  (-8
> mailto:[EMAIL PROTECTED]
> 
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Dominique,

Petit pi�ge : on se croit sous HC, on prend ses aises et patatras ;-)

open file laSortie for write (for read, for update)... il faut sp�cifier
l'option. Va faire un tour du c�t� du menu "Help" pour les d�tails.

Cordialement, Pierre Sahores

CRDP de l'academie de Creteil
WEB, DB, ASP, VPN, B2B design

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to