RE: [U2] Paragraphs and procwrite
Okay, you can use @system_return_code or @userx to do this. They can both be checked in the Paragraph after returning from the BASIC program to see what happened. If you want to know how let me know. Cheers, > -Original Message- > From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- > us...@listserver.u2ug.org] On Behalf Of roy > Sent: Tuesday, 26 May 2009 1:31 a.m. > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] Paragraphs and procwrite > > To explain a little better ... > > The paragraph calls many other procs and paragraphs as well as a number > of > basic programs. What I found is that if someone exits a basic program, > control is returned to the calling paragraph. > > Since the paragraph is in use I cannot modify it and accomplish > anything > that way. > > Obviously reading something from the command line won't work in this > circumstance. > > With a PQ type proc I could set a flag like INVALID and procwrite it > back to > the calling paragraph for testing to see if the proc should continue. > > I believe the idea of using @user0 may work but I haven't had a chance > to > test it. > > I was also hoping to avoid writing something to a file since there are > many > instances of this and clearing the flags could be a problem. > > Thanks again, > > Roy > > -Original Message- > From: owner-u2-us...@listserver.u2ug.org > [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of phil walker > Sent: Sunday, May 24, 2009 8:07 PM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] Paragraphs and procwrite > > Maybe I have come in late or are missing something in the question but > can't you just use: > > Command = 'paragraph ':arg1 > Execute Command > > Then in the paragraph > > Do something like > > PA > * <> > > Cheers > > Phil. > > > -Original Message- > > From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- > > us...@listserver.u2ug.org] On Behalf Of Jacques G. > > Sent: Monday, 25 May 2009 12:01 p.m. > > To: u2-users@listserver.u2ug.org > > Subject: Re: [U2] Paragraphs and procwrite > > > > You can have the basic program generate the paragraph dynamically, > and > > save it in the Voc under a temporary name. You can even have that > > paragraph delete itself when it is done. > > > > > > > > - Original Message > > From: Brian Leach > > To: u2-users@listserver.u2ug.org > > Sent: Saturday, May 23, 2009 7:45:04 AM > > Subject: RE: [U2] Paragraphs and procwrite > > > > Hi > > > > You could use one of the user-defined system variables: e.g. @USER0 > > > > E.g. > > PA > > CallMyProgram > > IF @USER0 = "SomeFlag" GO DoSomething > > > > PROGRAM CallMyProgram > > @USER0 = "SomeOtherFlagActually" > > END > > > > > > > -Original Message- > > > From: owner-u2-us...@listserver.u2ug.org > > > [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of roy > > > Sent: 22 May 2009 23:15 > > > To: u2-users@listserver.u2ug.org > > > Subject: [U2] Paragraphs and procwrite > > > > > > Hi all, > > > > > > > > > > > > Is there a way to accomplish passing an argument from a basic > > > program to a paragraph? > > > > > > > > > > > > Something like what procwrite does with a Proc? > > > > > > > > > > > > Thanks > > > --- > > > u2-users mailing list > > > u2-users@listserver.u2ug.org > > > To unsubscribe please visit http://listserver.u2ug.org/ > > --- > > u2-users mailing list > > u2-users@listserver.u2ug.org > > To unsubscribe please visit http://listserver.u2ug.org/ > > --- > > u2-users mailing list > > u2-users@listserver.u2ug.org > > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UV BASIC Flowing Charting Tools
Marco Manyevere wrote: Does anyone have a good recommendation for Universe BASIC source code flow charting software to aid with analysis and documentation of existing code? Thanks for any help, Marco. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ not specifically for unibasic, but Dia is nice and free. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UV BASIC Flowing Charting Tools
Does anyone have a good recommendation for Universe BASIC source code flow charting software to aid with analysis and documentation of existing code? Thanks for any help, Marco. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Paragraphs and procwrite
To explain a little better ... The paragraph calls many other procs and paragraphs as well as a number of basic programs. What I found is that if someone exits a basic program, control is returned to the calling paragraph. Since the paragraph is in use I cannot modify it and accomplish anything that way. Obviously reading something from the command line won't work in this circumstance. With a PQ type proc I could set a flag like INVALID and procwrite it back to the calling paragraph for testing to see if the proc should continue. I believe the idea of using @user0 may work but I haven't had a chance to test it. I was also hoping to avoid writing something to a file since there are many instances of this and clearing the flags could be a problem. Thanks again, Roy -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of phil walker Sent: Sunday, May 24, 2009 8:07 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Paragraphs and procwrite Maybe I have come in late or are missing something in the question but can't you just use: Command = 'paragraph ':arg1 Execute Command Then in the paragraph Do something like PA * <> Cheers Phil. > -Original Message- > From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- > us...@listserver.u2ug.org] On Behalf Of Jacques G. > Sent: Monday, 25 May 2009 12:01 p.m. > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Paragraphs and procwrite > > You can have the basic program generate the paragraph dynamically, and > save it in the Voc under a temporary name. You can even have that > paragraph delete itself when it is done. > > > > - Original Message > From: Brian Leach > To: u2-users@listserver.u2ug.org > Sent: Saturday, May 23, 2009 7:45:04 AM > Subject: RE: [U2] Paragraphs and procwrite > > Hi > > You could use one of the user-defined system variables: e.g. @USER0 > > E.g. > PA > CallMyProgram > IF @USER0 = "SomeFlag" GO DoSomething > > PROGRAM CallMyProgram > @USER0 = "SomeOtherFlagActually" > END > > > > -Original Message- > > From: owner-u2-us...@listserver.u2ug.org > > [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of roy > > Sent: 22 May 2009 23:15 > > To: u2-users@listserver.u2ug.org > > Subject: [U2] Paragraphs and procwrite > > > > Hi all, > > > > > > > > Is there a way to accomplish passing an argument from a basic > > program to a paragraph? > > > > > > > > Something like what procwrite does with a Proc? > > > > > > > > Thanks > > --- > > u2-users mailing list > > u2-users@listserver.u2ug.org > > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] pcl imaging question...
Hi, Windows Have you tried using gsprint http://pages.cs.wisc.edu/~ghost/gsview/gsprint.htm Convert the file from pcl to ps using ghostscript and print using gsprint - supports both color and grayscale Linux/Unix --- Convert the file from pcl to ps using ghostscript and sent to a print (linux printing understands ps) I do this a lot and it works great, you can even go to pdf and back If you have questions, don't hesitate to ask -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of George Gallen Sent: 22 May 2009 09:05 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] pcl imaging question... What does work for us, is the way you suggested. I use my image program to print to a file, then ftp the file, chop out the PJL coding. I never really tried to make macros, But after all the emails, I might make a little perl printer post lpt driver to substitute a with the actual filedata. I never know when the printer gets turned on and off, and is shared by many people (imagerunner copier) since it's used so few times, it easier to send the image each time. What I was asking, was more, how is the color RGB raster converted to a raster that can be printed on a B&W printer? Is there a formulae to convert? George > -Original Message- > From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- > us...@listserver.u2ug.org] On Behalf Of Colin Alfke > Sent: Friday, May 22, 2009 11:42 AM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] pcl imaging question... > > George; > > > > We use a product called "Forms Electric" > http://www.visual.co.uk/formselectric.asp that converts a print file > into a macro. It's old and clunky - but paid for and works. > > > > Or you can edit your converted PCL file directly (or you can put the > graphic in a document and print it to a file using a generic HP > printer) and then remove any "page" type pcl commands from it so you > can turn it into a macro. > > > It may also depend on how you're sending to the printer that's causing > your problem. > > > > hth > > Colin Alfke > > Calgary, Canada > > > > From: George > > > > ok. All this talk about PCL images had me looking into this... > > > > I downloaded a few JPG -> PCL image conversion programs, and > > attempted to send them to the printer directly, after looking at the > > code. > > > > Instead of getting the image (even a b&W image), all I got was what > > looked like a bunch of 2D bar coding that was the size of the image. > > But if I view the PCL code in a PCL Viewer, it looks good. > > > > I'm guessing the problem is that the image was converted for viewing > > on the display (in RGB), but the printer is not RGB. > > > > Show do I convert the image from RGB PCL to PCL that I can > > print on the printer? > > > > What we wanted to do was scan an image, then convert the image to > > PCL, then work them into reports. > > > > George > > _ > Create a cool, new character for your Windows Live Messenger. > http://go.microsoft.com/?linkid=9656621 > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ __ NOD32 4097 (20090522) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/