Yup.

It has a number of options that define how a number is printed, including 
moving the minus sign to the end, but if your number is variable length it may 
not help you.

You may also have to change 'TOTAL' to something like 'TT' because TO is a 
reserved word.

Try:
TT=2*17
print "TOTAL";mid$(str$(tt),2)

m

  ----- Original Message ----- 
  From: James Zeun 
  To: [email protected] 
  Sent: Monday, January 13, 2020 7:18 PM
  Subject: Re: [M100] Books on programming




  PRINT USING 


  being the actual command?


  I should point out I am just starting out programming on my M100. 


  So *Says in a pirate voice"
  This be uncharted waters..


  :-P







  On Tue, 14 Jan 2020, 12:12 am Mike Stein, <[email protected]> wrote:

    It's not the semicolon leaving the space; positive numbers leave a space in 
front to allow for a possible minus sign.

    If PRINT USING doesn't do what you want you could convert it to a string 
and use MID$

    m

      ----- Original Message ----- 
      From: James Zeun 
      To: [email protected] 
      Sent: Monday, January 13, 2020 7:02 PM
      Subject: Re: [M100] Books on programming


      So this evening 


      I was reading one of my programming books. 


      
https://drive.google.com/file/d/0Bxv0SsvibDMTUzdWckVpSUlIb0E/view?usp=drivesdk





      I'm not far in (page 5) and already something has pop up that didn't work 
as expected.


      PRINT "TOTAL=";2*17
      TOTAL=34


      On my M100


      TOTAL= 34


      The M100 inserts a space after the equal sign. When according to the book 
a semi colon should leave no space.




      -James




      On Thu, 9 Jan 2020, 10:31 pm Peter Vollan, <[email protected]> wrote:

        I know that there is a program called D20 for dice rolling. Does
        anyone out there know where it is???

        On Thu, 9 Jan 2020 at 14:19, James <[email protected]> wrote:
        >
        > Peter sorry it took me a while to answer this, but here goes
        >
        > At present we are playing a 5th edition game, have been for about a
        > year. I keep having to replace my character sheet and did wonder if I
        > couldn't program something on my M100. Like an electronic 5e character
        > sheet. Presently I don't have a clue how such a thing could be 
achieved,
        > but I do have an idea of how it might work.
        >
        > A primary screen showing character stats and a second page for
        > inventory. Perhaps toggling between the two using the tab key.
        >
        > I myself have been reading up on D&D Basic, as found in the Cyclopedia
        > TSR 1071. I own the 1070 boxset which as i understand it was when TSR
        > combined Basic, Expert, Companion and Master all in to one.
        >
        > If I can make a set of DnD tools would i use my M100 to manage my DnD
        > games? You're damn right I would!
        >
        >
        > On 08/01/2020 1:56, Peter Vollan wrote:
        > > What edition do you use?
        > >
        > > On Tue, 7 Jan 2020 at 17:06, James Zeun <[email protected]> 
wrote:
        > >> Great, I'll have to check that out!
        > >>
        > >> I'm currently checking out all the books that have been suggested 
to me.
        > >>
        > >> Really difficult to find physically books.
        > >>
        > >>
        > >> On Wed, 8 Jan 2020, 1:03 am C. Magaret, <[email protected]> wrote:
        > >>> "Dragon" was about role-playing games, primarily D&D.
        > >>>
        > >>> /CAM
        > >>>
        > >>>
        > >>>
        > >>>> On Jan 7, 2020, at 16:48, James Zeun <[email protected]> 
wrote:
        > >>>>
        > >>>> Was the Dragon Magazine a computer mag or a magazine about 
roleplaying?
        > >>>>
        > >>>> On Wed, 8 Jan 2020, 12:30 am Peter Vollan, 
<[email protected]> wrote:
        > >>>> Dragon.
        > >>>>
        > >>>> On Tue, 7 Jan 2020 at 15:52, James Zeun <[email protected]> 
wrote:
        > >>>>> Is that the one from the dungeon magazine?
        > >>>>>
        > >>>>> On Tue, 7 Jan 2020, 11:34 pm Peter Vollan, 
<[email protected]> wrote:
        > >>>>>> I have just about got the Dungeon Master's Personnel Service 
debugged
        > >>>>>> and working on Virtual T.
        > >>>>>>
        > >>>>>> On Tue, 7 Jan 2020 at 14:14, Britt Dodd 
<[email protected]> wrote:
        > >>>>>>> I’ve read the M100 manual and it did have some examples on 
there, but the majority of it was more a glossary of statements.
        > >>>>>>>
        > >>>>>>> Sent from my iPhone
        > >>>>>>>
        > >>>>>>> On Jan 7, 2020, at 5:10 PM, Dan Higdon 
<[email protected]> wrote:
        > >>>>>>>
        > >>>>>>> 
        > >>>>>>> The treasure horde program isn't posted anywhere. It's not 
long, but I don't have a copy on this machine. When I get home, I can send it 
to the list.
        > >>>>>>>
        > >>>>>>>
        > >>>>>>>
        > >>>>>>>
        > >>>>>>> On Tue, Jan 7, 2020 at 4:00 PM Peter Vollan 
<[email protected]> wrote:
        > >>>>>>>> You may be interested in knowing that I have already cut 
that text out
        > >>>>>>>> of the pdf of Dragon #74 and then pasted it back together in 
a text
        > >>>>>>>> file. Better than typing it all in like the old days, yes? I 
just ran
        > >>>>>>>> it in Virtual T (Model 100) and it barfs at the command 
"randomize".
        > >>>>>>>>
        > >>>>>>>> I did the same thing with a program to generated character 
for TSR's
        > >>>>>>>> Top Secret RPG, and then adapted it for the Model 100. It 
looks at the
        > >>>>>>>> tail end of TIME$ to randomise from 1 to 10 and then goes 
through that
        > >>>>>>>> many random numbers. It is on my Club 100 member page, but 
the member
        > >>>>>>>> pages are unfortunately down just now.
        > >>>>>>>>
        > >>>>>>>> I know that there is a program that does exactly what you 
describe
        > >>>>>>>> called D20.BA. I don't know how it randomises.
        > >>>>>>>>
        > >>>>>>>> I am interested in that program to generate treasure. BTW it 
is called
        > >>>>>>>> a treasure "hoard".
        > >>>>>>>>
        > >>>>>>>> On Tue, 7 Jan 2020 at 13:15, Jason Paul <[email protected]> 
wrote:
        > >>>>>>>>> In most cases the syntax could change but the command 
should mostly be the same. Depending on what machine you're using that 
particular book was published with versions for specific Basics Commodore Atari 
Apple TRS-80 etc.
        > >>>>>>>>>
        > >>>>>>>>> Do a Google search for Dragon magazine 74 PDF and there 
should be a program listing that is a dungeon Master's kind of utility program. 
It's not the only one. Don't be confused by the battle computer that is really 
just a slotted wheel for determining combat to hit percentages.
        > >>>>>>>>>
        > >>>>>>>>> On Tue, Jan 7, 2020, 4:10 PM James Zeun 
<[email protected]> wrote:
        > >>>>>>>>>> It says for the TRS80 Model 3... I'm assuming that would 
still be alright?
        > >>>>>>>>>>
        > >>>>>>>>>>
        > >>>>>>>>>>
        > >>>>>>>>>> On Tue, 7 Jan 2020, 8:55 pm Ken Pettit, 
<[email protected]> wrote:
        > >>>>>>>>>>> Hi James,
        > >>>>>>>>>>>
        > >>>>>>>>>>> I just remembered the title.  It is "Golden Flutes and 
Great Escapes":
        > >>>>>>>>>>>
        > >>>>>>>>>>> 
http://www.apple-iigs.info/doc/fichiers/goldenflutesandgreatescapes.pdf
        > >>>>>>>>>>>
        > >>>>>>>>>>> Ken
        > >>>>>>>>>>>
        > >>>>>>>>>>> On 1/7/20 12:48 PM, James Zeun wrote:
        > >>>>>>>>>>>
        > >>>>>>>>>>> Yes please! That would be great!
        > >>>>>>>>>>>
        > >>>>>>>>>>> On Tue, 7 Jan 2020, 8:36 pm Ken Pettit, 
<[email protected]> wrote:
        > >>>>>>>>>>>>
        > >>>>>>>>>>>> On 1/7/20 11:12 AM, Jerry Stratton wrote:
        > >>>>>>>>>>>>>> I don't know if anyone has any books they'd be willing 
to part with or just recommend one.
        > >>>>>>>>>>>>> If your D&Dness includes wanting to write text 
adventures in BASIC, Tim Hartnell’s Creating Adventure Games On Your Computer 
was very nice.
        > >>>>>>>>>>>> Come to think of it, I still own a book on writing text 
adventures in
        > >>>>>>>>>>>> BASIC ... probably sitting on the top shelf of my 
bookshelf at home.  I
        > >>>>>>>>>>>> could look up the title later tonight when I get home if 
it is of any
        > >>>>>>>>>>>> interest.
        > >>>>>>>>>>>>
        > >>>>>>>>>>>> Ken
        > >>>>>>>>>>>>
        >

Reply via email to