Pat: I misread my own program. The COMMAND variable as set up in my example is all there is . No HEADING is involved. The data went missing on the screen from the SORT only. But, here is what I found. I am using NETTERM, as my telnet monitor. I have it set to display 24 lines of data. My system is set as TERM 80,24 and the lines disappear. When I change system to TERM 80,23 I can see all the data. I am acutally using "JED" as my editor, not "ED". I have also created "GED" (for Grendata Editor) that automatically puts indents etc into the code for me. Simply Jed started with the options pre-set. I had to use the double quotes around the member code because this code contains a space. Had to double quote the dates so that system would take it as a literal and not a variable name. Love your tips. Guess when I found something that worked, I stopped looking for short-cuts, but will use these from now on. Dave
> Date: Sat, 22 Oct 2011 05:18:44 -0700 > Subject: Re: jbase 3.8 printing > From: [email protected] > To: [email protected] > > 'HEADING' COMMAND ( original posting ) ? > > Is the 'HEADING' being specified in the 'SORT' command itself, eg : > > SORT MEMBERS whatever HEADING whatever > > or is the 'HEADING' to which you refer, the Basic 'HEADING' statement > within the Basic program itself ?, eg : > > 105 HEADING "bla" > 102 EXECUTE COMMAND CAPTURING out > 103 CRT out > > > Good to see you're still using 'ED' as your editor BTW [ Still the > Best Multivalue editor in my opinion ] > > BTW Pats Tip of the Day > > Rather than using : > > var = var : whatever > var = var : bla > var = var : more_stuff_to_be_concatenated > > The ':=' ( colon equals ) operator is available > > Also the 'DQUOTE' function will put "Double Quotes" around the > specific elements of your variable > > So the original code could then be written as : > > 094 COMMAND = \SORT MEMBERS \ > 095 COMMAND := DQUOTE(MEMBER) > 096 COMMAND := " WITH OFFERING.DATE GE " : > DQUOTE(OCONV(THIS.DATE,'D2-')) > 097 COMMAND := \ BY-EXP OFFERING.DATE GE \ : DQUOTE(THIS.DATE) > 099 * COMMAND = COMMAND : \ AND LE "\ : LAST.DATE : \"\ > 100 COMMAND := " OFFERING.CODE OFFERING.DATE" > 101 COMMAND := " BREAK-ON YEAR TOTAL OFFERING.AMOUNT" > > But that's just my personal preference > > [ Let the Coding Style / Favourite Editor battle commence ] > > > " p.s. the HEADING has been throwing glitches from 1985 when I first > > started using PICK, and continued through jBase " > > Yep, jBASE had to continue the trend, in order to maintain > compatibility with the preceding Multivalue implements, glitches and > all ;-) > > > " Seriously, thanks for your help. " > > Serious, what me ?, never ;-) > > On Oct 22, 6:37 am, David Grenfell <[email protected]> wrote: > > Dan: > > > > I am assuming that 3.3.8 was just a slip of the finger. Jdiag reports > > vers. 3.4, minor 8, patch 0351. > > > > I also have 3.4.9 that I could load. Where can I get 3.4.10 ? I can't > > seem to find it on the downloads site any more. > > > > Dave. > > > > p.s. the HEADING has been throwing glitches from 1985 when I first started > > using PICK, and continued through jBase. Must be a nightmare to code this > > function. > > > > Seriously, thanks for your help. > > > > > > Date: Fri, 21 Oct 2011 17:30:57 -0700 > > > Subject: Re: jbase 3.8 printing > > > From: [email protected] > > > To: [email protected] > > > > > jBASE 3.3.8 ? Was that supplied on Paper tape or Punched cards > > > Dan ? ;-) > > > ( or for our younger viewers 'Was that on Windows 95 or Windows > > > 98 ?' ) > > > > > On Oct 22, 1:00 am, Daniel Klein <[email protected]> wrote: > > > > If this really is jBASE 3.3.8 then I think you will find that it is not > > > > a > > > > problem on the later releases. I can't say exactly when it was patched > > > > (at > > > > what release level) so it would be best to just make the jump to light > > > > speed > > > > and go right to (at least) 3.4.10, which is the latest jBASE 3 release. > > > > > > Dan > > > > > > Thu, Oct 20, 2011 at 12:29 PM, David Grenfell > > > > <[email protected]>wrote: > > > > > > > I am curious. here is some code that I have inside a basic program. > > > > > > > COMMAND = \SORT MEMBERS \ > > > > > 095 COMMAND = COMMAND : \"\ : MEMBER : \"\ > > > > > 096 COMMAND = COMMAND : " WITH OFFERING.DATE GE " > > > > > 097 COMMAND = COMMAND : \"\ : OCONV(THIS.DATE,'D2-') : \"\ > > > > > 098 COMMAND = COMMAND : \ BY-EXP OFFERING.DATE GE "\ : > > > > > THIS.DATE: \"\ > > > > > 099 * COMMAND = COMMAND : \ AND LE "\ : LAST.DATE : \"\ > > > > > 100 COMMAND = COMMAND : " OFFERING.CODE OFFERING.DATE" > > > > > 101 COMMAND = COMMAND : " BREAK-ON YEAR TOTAL OFFERING.AMOUNT" > > > > > > > This is used in conjuction with a HEADING COMMAND to display a simple > > > > > report on the screen. > > > > > > > If the screen happens to split with a HEADING, the report will be > > > > > missing > > > > > one line of the MEMBER'S report. > > > > > Here is a screen scrape: > > > > > > > SEIM ROB 2 09-25-2011 10.00 (*last line from > > > > > previous > > > > > page*) > > > > > > > PAGE 5 12:21:02 20 Oct > > > > > 2011 > > > > > (*3 lines of heading)* > > > > > MEMBERS....... OFFERING OFFERING.. OFFERING.. > > > > > CODE DATE AMOUNT > > > > > > > SEIM ROB 2 10-16-2011 10.00 (*first line on this > > > > > page)* > > > > > ** > > > > > *this page is missing 1 10-16-2011 30.00 which should be above > > > > > the > > > > > line above.* > > > > > ** > > > > > *I'm not sure if the line is dropped on the first page or the second > > > > > page. > > > > > * > > > > > ** > > > > > Are there any bus that you know of to cause this. This makes it > > > > > tough to > > > > > find a posting error. > > > > > > > Dave Grenfell > > > > > ** > > -- > Please read the posting guidelines at: > http://groups.google.com/group/jBASE/web/Posting%20Guidelines > > IMPORTANT: Type T24: at the start of the subject line for questions specific > to Globus/T24 > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
