🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #27081

Re: Questions on programming in 4th Dimension

#27081
From: Yvo Van Wezemael
Date: Thu, 07 Apr 1988 15:18
32 lines
1520 bytes
In article <1393@bmc1.uu.se>, sys_ms@bmc1.uu.se writes:
> 
> 	I have a couple of questions concerning programming in 4th Dimension.
> 
>    1)	Is it in som way possible to have an included layout within a DIALOG
> 	procedure.
> 
>    2)	Is it possible to detect menu choices with the menu selected
>         command	while doing an ADD RECORD. I have only succeded with
> 	this command inside a DIALOG procedure.
> 
>    3)   Is it possible to pass a filename as a parameter to a global
> 	procedure.
> 
ad 1) 	I never tried, so I don't know.

ad 2) 	I have worked with menu selected inside a ADD RECORD layout procedure.
	It works without problems after taking it out of a CASE which checked
	for buttons, modified fields etc.

ad 3)   It is mentioned somewhere in the manual that you CAN'T pass a filename 
	as parameter. What you can do is passing the string "[filename]"
	and then using EXECUTE("NEXT RECORD("+$1+")").
	(I hate it, I want to pass filenames too.)

		Hope it helps	Yvo Van Wezemael

-- 
Yvo Van Wezemael (yvo@L2):
        Postfach 1240 (Schloss Birlinghoven)
	D-5205 Sankt Augustin 1
	seismo!...unido!gmdzi!yvw.UUCP
Technical Details
Message-ID: <543@gmdzi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!unido!gmdzi!yvw
References: <1393@bmc1.uu.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!unido!gmdzi!yvw
From: yvw@gmdzi.UUCP (Yvo Van Wezemael)
Newsgroups: comp.sys.mac
Subject: Re: Questions on programming in 4th Dimension
Message-ID: <543@gmdzi.UUCP>
Date: 7 Apr 88 15:18:41 GMT
References: <1393@bmc1.uu.se>
Organization: Forte Research Group
Lines: 31
Summary: Some answers to your questions...