[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: FW: RE: dumb questions how to install
- Subject: Re: FW: RE: dumb questions how to install
- From: Harry Binswanger hb@xxxxxxxx
- Date: Sun, 06 Mar 2011 21:36:02 -0800
PS:
I need help with XPL programming.
I hesitate to offer this, but . . . On the off chance that you are quite
at home in BASIC: I wrote (and have used for 20 years) a program I
call XyBasic that allows you to write in almost regular BASIC which then
gets translated, at a keystroke, into XPL.
The XyBasic code looks like this:
input.name.search.string: <==this is a label (indicated by
ending in a colon)
gofile "·nndbase.file$·"
<=== this is a XyWrite command
'tf
<=== apostrophes translate to XyWrite function calls--here "top
of file"
input " ENTER Name (or x)", scr.name$ <== takes user
input from keyboard
if scr.name$ = null$ then goto out.program
if scr.name$ = "x" then goto out.program
if scr.name$ = "y" then stop ; keep this for
testing <===semicolons are for comments
'tf
<== blank lines, tabs, spaces are all okay
name.search:
'xd
comx "es
1"
<=== "comx" is another way of getting a Xy command
executed
com "se /" scr.name$
"/" ; find
approximate name
if error then goto menu.for.not.found
$Include
"prompt"
<=== an "include" file that pauses to get user keystroke
("x" exits program)
comx "seb
/,/" ;
find comma preceding name
if error then
'bc
: print "Can't find leading comma--hit any key"
resp$ = inkey$
goto input.name.search.string
endif
< end of fragment of larger program>
I said I hesitate to suggest XyBasic, because it isn't rock solid. I often have to check that the XPL produced was what it was supposed to be (and make adjustments accordingly). But it's pretty good.
--Harry
I am happy to pay cash for some telephone consulting. I used to do extremely complex XPL programming, but I have this weird sort of mind that can memorize an entire play and perform flawflessly for two hours on stage, but a week later I couldn't recite a single damn line. It's the same with XPL...I don't have time to relearn all the stuff - the hard way; i.e. from the manual - I used to know like the back of my hand, but somebody could get me up to speed in a helluva hurry by just coaching me and reminding me of all the stuff I already know. Plus, I never did master the deeper levels, where you actually muck about in the underlying assembly language...but that isn't necessary, I just need to get back up to speed on the practical get-it-done aspects of XPL. Please PM me if you know XPL like the back of your hand and actually remember all that stuff!!!!!!!!
-----Original Message-----
From: "Bill Troop"
Sent: Sunday, March 6, 2011 7:22pm
To: xywrite@xxxxxxxx
Subject: Re: FW: RE: dumb questions how to install
researcher in stem cells, anti-aging, and sexuality,
The survival of the XyWrite list is secured!
as well as a hobbiest in tube amplifiers;
And we'll have the beautiful sounds only tubes can give us.
It would be churlish to ask for more.
Harry Binswanger
hb@xxxxxxxx