1. Creating User Editable for - oops here are the files
- Posted by Tony Steward <figjam at NLC.NET.AU> Nov 15, 2000
- 359 views
- Last edited Nov 16, 2000
------=_NextPart_000_0009_01C04F52.75D9E260 boundary="----=_NextPart_001_000A_01C04F52.75E18380" ------=_NextPart_001_000A_01C04F52.75E18380 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all. Attached is my program so far. It creates random codes for safe locks. = What I am now trying to do is have a text file which is the instructions = on using the safe. I want users to be able to edit this file and put in = field markers. In a nutshell I want to print a text file but replacing {1} with text = from a feild1 in the program and replace {2} with contents of field 2. Hope this makes sence, I have gone blank. Or even a program in the archive that does this I can look at. Thanks Tony ------=_NextPart_001_000A_01C04F52.75E18380 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Hi all.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Attached is my program so far. It = creates random=20 codes for safe locks. What I am now trying to do is have a text file = which is=20 the instructions on using the safe. I want users to be able to edit this = file=20 and put in field markers.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>In a nutshell I want to print a text = file but=20 replacing {1} with text from a feild1 in the program and replace {2} = with=20 contents of field 2.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Hope this makes sence, I have gone=20 blank.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Or even a program in the archive that = does this I=20 can look at.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks = ------=_NextPart_001_000A_01C04F52.75E18380-- ------=_NextPart_000_0009_01C04F52.75D9E260 name="Random Codes.exw" Content-Transfer-Encoding: quoted-printable
2. Re: Creating User Editable for - oops here are the files
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 15, 2000
- 374 views
Tony, Just to be sure, am I right in thinking that you want the same program which creates the random numbers to print the file detailing how to use them? In which case I would ask, is there some variable in that program which *contains* the random numbers? If there isn't, (& I didn't see any), then there should be, and you would use it while printing the text file. Or do you want a separate program to hand input those numbers into, which would then generate the instructions file? Dan Moyer ----- Original Message ----- From: "Tony Steward" <figjam at NLC.NET.AU> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Wednesday, November 15, 2000 3:21 AM Subject: Creating User Editable for - oops here are the files Hi all. Attached is my program so far. It creates random codes for safe locks. What I am now trying to do is have a text file which is the instructions on using the safe. I want users to be able to edit this file and put in field markers. In a nutshell I want to print a text file but replacing {1} with text from a feild1 in the program and replace {2} with contents of field 2. Hope this makes sence, I have gone blank. Or even a program in the archive that does this I can look at. Thanks Tony
3. Re: Creating User Editable for - oops here are the files
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 15, 2000
- 390 views
- Last edited Nov 16, 2000
------=_NextPart_000_0005_01C04F41.21CC9CA0 charset="iso-8859-1" Tony, I'm not sure if I understood exactly what you wanted, but attached is a possible partial solution, for the 3 number combination. I *think* I indicated all my additions with "--0" (sometimes at beginning, sometimes at end of line). What I did was: added a sequence, "theNumbers", to hold the randomly chosen numbers; put the random numbers into it at the point where you displayed them; made them show up on the status bar, for debug purposes; made a new menu choice, "Make Instructions"; made a new procedure to respond to clicking on the new menu choice, which outputs the text & the numbers, as I think you wanted them. Dan Moyer ----- Original Message ----- From: "Tony Steward" <figjam at NLC.NET.AU> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Wednesday, November 15, 2000 3:21 AM Subject: Creating User Editable for - oops here are the files Hi all. Attached is my program so far. It creates random codes for safe locks. What I am now trying to do is have a text file which is the instructions on using the safe. I want users to be able to edit this file and put in field markers. In a nutshell I want to print a text file but replacing {1} with text from a feild1 in the program and replace {2} with contents of field 2. Hope this makes sence, I have gone blank. Or even a program in the archive that does this I can look at. Thanks Tony ------=_NextPart_000_0005_01C04F41.21CC9CA0 name="safe3.EXW" Content-Transfer-Encoding: quoted-printable